2013年9月10日
摘要: 用 len关键字,字段=''会报错:数据类型 text 和 varchar 在 equal to 运算符中不兼容。 正确方法: 1. 字段 is null 2. datalength(字段)=0 注:SQL中的DATALENGTH函数用于返回任何表达式所占用的字节数。 阅读全文
posted @ 2013-09-10 09:16 码 头 阅读(4537) 评论(0) 推荐(0) 编辑
  2013年7月10日
摘要: 【前提】 想要实现使用某种语言,比如Python,C#等,去实现模拟登陆网站的话,首先要做的事情就是使用某种工具,去分析本身使用浏览器去登陆网页的时候,其内部的执行过程,内部逻辑。 此登陆的逻辑过程,主要指的是,需要访问哪些地址,提交哪些http请求,其中包含了有哪些查询关键字,涉及到哪些post的... 阅读全文
posted @ 2013-07-10 10:09 码 头 阅读(3008) 评论(1) 推荐(0) 编辑
摘要: cookie 的“Value”=“xxxxx,xxxxx”部分无效在一些网站中有时候会遇到Cookie的值为逗号 但是在.Net中Cookie的值是不能直接使用逗号的 如果使用形如 C#代码1.Cookie cookie=new Cookie("name","xxxxx,xxxxx");Cookie... 阅读全文
posted @ 2013-07-10 10:08 码 头 阅读(2314) 评论(0) 推荐(0) 编辑
  2010年1月22日
摘要: JavaScript代码: JSP代码: ">迅雷专用高速下载 PHP代码: ">迅雷专用高速下载 论坛专用链接代码: ASP.NET代码: " thunderPid="57029" thunderType="" thunderResTitle="" onClic... 阅读全文
posted @ 2010-01-22 18:30 码 头 阅读(2742) 评论(0) 推荐(0) 编辑
  2010年1月20日
摘要: 阅读全文
posted @ 2010-01-20 19:02 码 头 阅读(383) 评论(0) 推荐(0) 编辑
摘要: 执行实例(表:life_unite_product 有createtime时间字段)select day(createtime) from life_unite_product --取时间字段的天值select month(createtime) from life_unite_product --... 阅读全文
posted @ 2010-01-20 19:01 码 头 阅读(369) 评论(0) 推荐(0) 编辑