摘要:
淘宝彩票打开后在谷歌浏览器按ctrl+alt+j 可以查看网页信息$url = "http://caipiao.taobao.com/lottery/order/lottery_jczq_spf.htm";$contents = file_get_contents($url);if($contents){$matches = null;$eregid_str = '/<tr class="(.*)" rel="(.*)">\r\n.*';$eregid_str.= '<td class=&qu 阅读全文
摘要:
ICSharpCode.SharpZipLib 类库可以从这里下载。这几天在搜索关于C#的BZip2压缩和解压代码时候发现很多时候是这个zhuweisky博客里面的后来又出了修正版本 利用BZip2.Compress,BZip2.Decompress 实现但是我发现用BZip2OutputStream和BZip2InputStream 实现,解压时候出现只能解压一部分数据经过调试其实是代码没有完全用正确.之前的代码public static class ZipHelper { public static byte[] Zip(byte[] data) { ... 阅读全文
摘要:
byte[] buf = {[0xa,0xb,0x1,0x9,0x64,0x61,0x74,0x61,0xa,0x1,0x11,0x63,0x61,0x73,0x74,0x6c,0x65,0x49,0x64,0x4,0x80,0xe3,0xcb,0xb5,0xd,0x69,0x74,0x65,0x6d,0x49,0x64,0x6,0x2b,0x63,0x6f,0x6e,0x73,0x75,0x6d,0x65,0x2e,0x74,0x72,0x61,0x6e,0x73,0x61,0x63,0x74,0x69,0x6f,0x6e,0x2e,0x31,0x1f,0x74,0x72,0x61,0x6e 阅读全文