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... 阅读全文
posted @ 2014-07-31 15:34 Crawford 阅读(144) 评论(0) 推荐(0)
摘要:文件and文件夹copypackage org.test;import java.io.*;public class FileCopy { /** * 复制单个文件 * * @param oldPath * String 原文件路径 如:... 阅读全文
posted @ 2014-07-30 12:15 Crawford 阅读(773) 评论(0) 推荐(0)
摘要: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)... 阅读全文
posted @ 2014-07-25 10:42 Crawford 阅读(482) 评论(0) 推荐(0)
摘要:写入:没有关闭流,容错并不完善。 读出: 阅读全文
posted @ 2014-07-18 13:51 Crawford 阅读(631) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2014-07-17 14:54 Crawford 阅读(7) 评论(0) 推荐(0)
摘要:原文地址:http://justsee.iteye.com/blog/1320059手动启动一个问题:本地计算机 上的 OracleOraDb10g_home1TNSListener服务启动后停止。某些服务在未由其他服务或程序使用时将自动停止。在网上找解决方案的时候,发现很多人都遇到了这个问题,但都... 阅读全文
posted @ 2014-07-10 10:12 Crawford 阅读(365) 评论(0) 推荐(0)
摘要:PHP AES加密bit = $bit; $this->key = $key; $this->iv = $iv; $this->mode = $mode; switch($this->bit) { case 192:$th... 阅读全文
posted @ 2014-07-04 10:19 Crawford 阅读(1046) 评论(0) 推荐(0)
摘要:Java Cookie cookie = new Cookie(COOKIE_NAME, encrypt_cookieV); cookie.setMaxAge(60 * 60); cookie.setPath("/"); response.addCookie(cookie);PHP setcoo... 阅读全文
posted @ 2014-07-02 16:04 Crawford 阅读(238) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2014-07-02 15:32 Crawford 阅读(183) 评论(0) 推荐(0)
摘要:PHP 输出json。 $result = mysql_query($sql); //查询结果 $users=array(); $i=0; while($row=mysql_fetch_array($result,MYSQL_ASSOC)){ $users[$i]=$row; $i+... 阅读全文
posted @ 2014-07-02 15:26 Crawford 阅读(901) 评论(0) 推荐(0)
摘要:db.class.php 主要方法host = $host; $this->username = $username; $this->password = $password; $this->db_name = $db_name; } /** ... 阅读全文
posted @ 2014-07-02 15:05 Crawford 阅读(896) 评论(0) 推荐(0)
摘要:host = $host; $this->username = $username; $this->password = $password; $this->dbname = $dbname; } public function open() ... 阅读全文
posted @ 2014-07-02 14:55 Crawford 阅读(289) 评论(0) 推荐(0)