该文被密码保护。 阅读全文
摘要:
Java Cookie cookie = new Cookie(COOKIE_NAME, encrypt_cookieV); cookie.setMaxAge(60 * 60); cookie.setPath("/"); response.addCookie(cookie);PHP setcoo... 阅读全文
摘要:
阅读全文
摘要:
PHP 输出json。 $result = mysql_query($sql); //查询结果 $users=array(); $i=0; while($row=mysql_fetch_array($result,MYSQL_ASSOC)){ $users[$i]=$row; $i+... 阅读全文
摘要:
db.class.php 主要方法host = $host; $this->username = $username; $this->password = $password; $this->db_name = $db_name; } /** ... 阅读全文
摘要:
host = $host; $this->username = $username; $this->password = $password; $this->dbname = $dbname; } public function open() ... 阅读全文