08 2017 档案

摘要:PHP中调用move_uploaded_file函数提示failed to open stream和 Unable to move 在做一个PHP文件上传系统的时候,使用move_uploaded_file进行文件上传,提示下面两个warning,不能成功上传文件 Warning: move_upl 阅读全文
posted @ 2017-08-19 10:51 进军码农 阅读(2984) 评论(0) 推荐(0)
摘要:假设文件上传字段的名称img,则: $_FILES['img']['error']有以下几种类型 1、UPLOAD_ERR_OK 其值为 0,没有错误发生,文件上传成功。 2、UPLOAD_ERR_INI_SIZE 其值为 1,上传的文件超过了 php.ini 中 upload_max_filesi 阅读全文
posted @ 2017-08-19 10:10 进军码农 阅读(15326) 评论(0) 推荐(1)
摘要:function GetRequest() { var url = location.search; //获取url中"?"符后的字串 var theRequest = new Object(); if (url.indexOf("?") != -1) { var str = url.substr( 阅读全文
posted @ 2017-08-02 14:39 进军码农 阅读(1001) 评论(0) 推荐(0)