1,HTTP常见的方法 GET 获取指定资源 POST 2M 向指定资源提交数据进行处理请求,在RESTful风格中用于新增资源 HEAD 获取指定资源头部信息 PUT 替换指定资源(不支持浏览器操作) DELETE 删除指定资源 2,配置服务器的put请求方式: 代码如下: 1 n 打开终端 p cd /etc/apache2 p sudo vim httpd.conf n 在vim中输入 p /httpd-dav.conf • 查找httpd-dav.conf p 按0将光标移动至行首 p 按x将...[ 查看全文 ]
download.asp?file=相对路径的文件 就可以把这个文件下载下来 <% 2 3 call downloadFile(replace(replace(Request("file"),"\",""),"/","")) 4 5 Function downloadFile(strFile) 6 ' make sure you are on the latest MDAC version for this to work 7 ' ------------------------------------------------------------- 8 9 10 ' get full path of specified file 11 strFilename = server....[ 查看全文 ]
Every so often people ask me the question how should they estimate memory consumption by MySQL Server in given configuration. What is the formula they could use. 经常有人问我配置MySQL时该如何估算内存的消耗。那么该使用什么公式来计算呢? The reasons to worry about memory usage are quite understandable. If you configure MySQL Server so it uses too small amount of me...[ 查看全文 ]