随笔分类 -  php

摘要:http://stackoverflow.com/questions/2647170/curl-vs-fopen-vs-fsocketopenhttp://stackoverflow.com/questions/2644624/php-curl-get-http-code-not-whole-doc... 阅读全文
posted @ 2015-06-05 10:13 lein.wang 阅读(307) 评论(0) 推荐(0)
摘要:http://www.phpied.com/simultaneuos-http-requests-in-php-with-curl/http://stackoverflow.com/questions/6107339/parallel-processing-in-php-how-do-you-do-... 阅读全文
posted @ 2015-06-05 10:12 lein.wang 阅读(642) 评论(0) 推荐(0)
摘要:https://github.com/walu/phpbook/blob/master/preface.md 阅读全文
posted @ 2015-05-27 14:28 lein.wang 阅读(213) 评论(0) 推荐(0)
摘要:阿里云ECS服务器被DDoS无解,请问我该何去何从? 阅读全文
posted @ 2015-05-26 18:08 lein.wang 阅读(131) 评论(0) 推荐(0)
摘要:问题:云盾正常扫描云服务器的IP是什么?解答:云盾扫描云服务器的的IP段固定为42.120.145.0/24110.75.105.0/24110.75.185.0/24110.75.186.0/24112.125.32.0/24112.124.36.187/32121.0.19.0/24121.0.... 阅读全文
posted @ 2015-05-26 18:07 lein.wang 阅读(363) 评论(0) 推荐(0)
摘要:http://blog.aliyun.com/1273 阅读全文
posted @ 2015-05-26 17:51 lein.wang 阅读(123) 评论(0) 推荐(0)
摘要:spl_autoload_register(PHP 5 >= 5.1.2)spl_autoload_register—注册给定的函数作为 __autoload 的实现说明¶boolspl_autoload_register([callable$autoload_function[,bool$thro... 阅读全文
posted @ 2015-03-19 10:11 lein.wang 阅读(203) 评论(0) 推荐(0)
摘要:为什么要对字符串编码?某些字符串中包含html标签,不编码,页面输出就乱了。PHP下怎么对字符串编码?htmlentities vshtmlspecialcharshtmlentities 与htmlspecialchar 区别:htmlentitiesis identical tohtmlspec... 阅读全文
posted @ 2014-11-25 11:35 lein.wang 阅读(367) 评论(0) 推荐(0)
摘要:点击打开链接http://se.360.cn/v6/help/meta.html 阅读全文
posted @ 2014-11-17 14:56 lein.wang 阅读(117) 评论(0) 推荐(0)
摘要:点击打开链接http://developer.zdnet.com.cn/2010/0813/1848346.shtml 阅读全文
posted @ 2014-11-15 00:01 lein.wang 阅读(122) 评论(0) 推荐(0)
摘要:imagecreatefromjpeg(): gd-jpeg, libjpeg: recoverable error: Corrupt JPEG data: 1 extraneous bytes before marker 0xd9ini_set ('gd.jpeg_ignore_warning',... 阅读全文
posted @ 2014-11-11 15:40 lein.wang 阅读(2862) 评论(1) 推荐(0)
摘要:http://www.itokit.com/2012/0722/74609.html 阅读全文
posted @ 2014-10-22 10:11 lein.wang 阅读(95) 评论(0) 推荐(0)
摘要:官网:http://thrift.apache.org/一些介绍使用的文章:http://www.ibm.com/developerworks/cn/java/j-lo-apachethrift/index.htmlhttp://thrift.apache.org/tutorial/phphttp:... 阅读全文
posted @ 2014-10-15 15:00 lein.wang 阅读(643) 评论(0) 推荐(0)
摘要:安装php的redis扩展:http://pecl.php.net/package/redis也可以用PHP直接连redis:http://www.cnblogs.com/kudosharry/articles/2534694.htmlhost = $host; $this->port... 阅读全文
posted @ 2014-10-10 14:45 lein.wang 阅读(139) 评论(0) 推荐(0)
摘要:http://blog.cafeneko.info/2010/10/nginx_rewrite_note/ 阅读全文
posted @ 2014-10-10 10:14 lein.wang 阅读(90) 评论(0) 推荐(0)
摘要:点击打开链接http://imtiger.net/blog/2012/08/29/qps-pv-rt/ 阅读全文
posted @ 2014-09-30 16:52 lein.wang 阅读(489) 评论(0) 推荐(0)
摘要:phpcassa library里有个namespace :use phpcassa\Schema\DataType;当使用cql query得到cqlrow, int32 & Date type会乱码:string 'phpcassa\Schema\DataType\Int32Type' (len... 阅读全文
posted @ 2014-09-11 15:06 lein.wang 阅读(248) 评论(0) 推荐(0)
摘要:Ben: $ siege -u shemp.whoohoo.com/Admin.jsp -d1 -r10 -c25..Siege 2.65 2006/05/11 23:42:16..Preparing 25 concurrent users for battle.The server is now ... 阅读全文
posted @ 2014-09-10 16:39 lein.wang 阅读(172) 评论(0) 推荐(0)
摘要:Selecting the UML/XMI versionTo select which version of the UML/XMI standards you want your XMI to be written in, use the option -x:$ phpuml /var/www/... 阅读全文
posted @ 2014-09-10 16:38 lein.wang 阅读(217) 评论(0) 推荐(0)
摘要:SELECT ROUND( SUM(data_length + index_length) / 1024 / 1024 ) TOTAL_MB, ROUND(SUM(data_length) / 1024 / 1024) DATA_MB, ROUND( SUM(index_length) /... 阅读全文
posted @ 2014-09-10 10:11 lein.wang 阅读(214) 评论(0) 推荐(0)