07 2014 档案
摘要:复制当前所有,ID自动增长。 insert into test(name,pass) select name,pass from test删除当前重复 delete A from test A,test B where A.name = B.name and A.pass = B.pass an...
阅读全文
摘要:文件and文件夹copypackage org.test;import java.io.*;public class FileCopy { /** * 复制单个文件 * * @param oldPath * String 原文件路径 如:...
阅读全文
摘要:org.apache.jasper.JasperException:xxx.jsp(1,1)Page-encoding specified in XML prolog (UTF-8) is different from that specified in page directive (utf-8)...
阅读全文
摘要:写入:没有关闭流,容错并不完善。 读出:
阅读全文
摘要:原文地址:http://justsee.iteye.com/blog/1320059手动启动一个问题:本地计算机 上的 OracleOraDb10g_home1TNSListener服务启动后停止。某些服务在未由其他服务或程序使用时将自动停止。在网上找解决方案的时候,发现很多人都遇到了这个问题,但都...
阅读全文
摘要:PHP AES加密bit = $bit; $this->key = $key; $this->iv = $iv; $this->mode = $mode; switch($this->bit) { case 192:$th...
阅读全文
摘要: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() ...
阅读全文

浙公网安备 33010602011771号