摘要: 一般我们都是在服务端获取上传文件的大小,这里给大家提供一端可以在客户端获取上传文件的大小,这样可以有效减轻服务器的负担:js获取上传文件的大小的代码:以下是代码片段:function ShowFileInfo() { var fso = new ActiveXObject("Scripting.FileSystemObject"); var f, s, file; if ("object" != typeof(fso)) return; file = myForm.fjwj0.value; f = fso.GetFile(file); alert(f.s 阅读全文
posted @ 2011-06-02 14:38 linny 阅读(614) 评论(0) 推荐(0) 编辑
摘要: 转载 http://www.neatstudio.com/show-1552-1.shtml1、新站上线时,别忘了去几个重要搜索引擎的网站进行登录,以下是这些搜索引擎登录入口地址:百度:http://www.baidu.com/search/url_submit.htmlGoogle:http://www.google.com/intl/zh-CN/add_url.htmlGoogle香港:http://www.google.com.hk/addurl/?continue=/addurl网易-有道:http://tellbot.yodao.com/reportSOSO:http://www.s 阅读全文
posted @ 2011-06-02 09:16 linny 阅读(146) 评论(0) 推荐(0) 编辑