02 2015 档案
摘要:con = new mysqli($host, $user, $pswd, $db); if($this->con->connect_error) die("CONNECT ERROR:".$this->con->connect_errno.":".$this->...
阅读全文
摘要:这种是比较老的一种mysql连接方法1、连接数据库$this->con = mysql_connect($this->host, $this->user, $this->pswd);2、选择数据库mysql_select_db($this->db, $this->con);3、操作mysql_que...
阅读全文
摘要:文件下载是通过网页页面链接跳转到后台php脚本处理,前台跳转链接代码如下:download后台处理脚本"; return; } $fp = fopen($file_path, "r"); /*get file length*/ ...
阅读全文

浙公网安备 33010602011771号