随笔分类 - 小案例
摘要:reg.html 注册 请填写用户名: 密码: login.php 用户登陆 用户名: 密...
阅读全文
摘要:类文件:fileName=$fileName; $this->uploadPath=$uploadPath; $this->maxSize=$maxSize; $this->checkimg=$checkimg; $this->...
阅读全文
摘要:表单: 无标题 函数部分: $value) { $files[$i]['name']=$file['name'][$key]; $files[$i]['type']=$file['type'][$key]; ...
阅读全文
摘要:HTML表单: upload file PHP多文件上传函数表单uploads.func...
阅读全文
摘要:Warning: POST Content-Length of 35052172 bytes exceeds the limit of 8388608 bytes in Unknown on line 0该条警告是PHP.ini中的配置有关。上述错误信息的大致意思是,我们使用POST请求提交的数据大...
阅读全文
摘要:$value){ $files[$i]=$a["$yi"][$key]; $i++; } } print_r($files);}$value){ $files[$i]=$a["$yi"][$key]; $i++; ...
阅读全文
摘要:来自:http://www.poluoluo.com/jzxy/201306/216921.html尽量使用include, 而不是include_once, 理由是 include_once需要查询一遍已加载的文件列表, 确认是否存在, 然后再加载.诚然, 这个理由是对的, 不过, 我今天要说的,...
阅读全文
摘要:前端: upload file 上传文件的函数:$max) { exit('文件过大,不能上传。'...
阅读全文
摘要:header('content-type:text/html;charset=utf-8');move_uploaded_file(file,newloc) :若成功则返回true否则false。copy(file,newloc) : 若成功则返回true ,否则false。strtolower(s...
阅读全文
摘要:log.html Home Page login.phpquery($query); if ($result->num_rows) { $_SESSION['name']=...
阅读全文
摘要:A开头:$AltBody--属性出自:PHPMailer::$AltBody文件:class.phpmailer.php说明:该属性的设置是在邮件正文不支持HTML的备用显示AddAddress--方法出自:PHPMailer::AddAddress(),文件:class.phpmailer.php...
阅读全文
摘要:IsSMTP(); // tell the class to use SMTP $mail->SMTPAuth = true; // enable SMTP authentication $mail...
阅读全文
摘要:getFile('a.htm'); //$body = eregi_replace("[\]",'',$body); $mail->IsSMTP(); $mail->SMTPAuth = true; ...
阅读全文
摘要:001.htmluser log用户名://html5表单属性密码://html5表单属性001.phpWelcome!!!Welcome new customer!Your username is Your password is 根文件位于:服务器名称:用的软件是:http协议:数据提交方法:文...
阅读全文
摘要:第一个文件:表单文件四则运算计算面积第一个数第二个数请选择运算符请输入半径 第二个文件:接受执行文件jisuan($num1,$num2,$oper); } if($doing=='area'){ $radius=$_REQUEST['radius']; echo "计算结果是:".$cat1->circle($radius); }?>返回主界面第三个文件:类文件, (3.class.php)
阅读全文

浙公网安备 33010602011771号