2017-03-03 16:00:48 0 Comments PHP Boy.Lee

PHP link break content not display correct in textarea

When use PHP try to output line break content to TextArea, may found "\n\r" not working, can be fixed by the follow way
2017-02-28 10:32:12 0 Comments IDE Boy.Lee

Zend Studio 13.5 Project lost PHP Language Library

When switch dev Mac, I found because file path changed, all new projects will be lost PHP Language Library, the PHP Language Library can be found by the follow method
2016-12-14 14:24:30 0 Comments Linux Boy.Lee

2017 Centos 6 Web Server iptables Classial Config Rules List

In LNMP(Centos 6+nginx+php-fpm+mysql) Web Server Produce Env, list and explain all useful iptables rules, you can direct pick need rule out and use it for your own iptables config,

Mac os 10.11(El Capitan) System Build in PHP's GB missing FreeType

In Mac os 10.11(El Capitan) System's build in PHP. The GB lib is missing FreeType part, it will cost problem for captcha and png render. The only solution is to reinstall a new PHP.
2016-09-18 13:52:58 0 Comments PHP Boy.Lee

Fixed Content-Type is empty, when using PHP's CURL lib sending POST request

When using PHP's CURL Lib sending POST request, I found the POST's Content-Type is empty, It's not what I want so I run some debug and fix this issue.
2016-07-10 13:59:28 0 Comments PHP Boy.Lee

Checks if the class method exists in PHP

in PHP coding, we usually need check if the class method exist, if we direct call without check we could get exception. In Yii 2.0 framework, we can also use this way to check model's relation exist.

Mac os X system problem cause PHP CURL and PPTP not working

The solution for PHP CURL and PPTP not working on Mac os X
2016-05-19 11:12:08 0 Comments PHP Boy.Lee

php generate 100% unique random string demo code

show how to generate random string in php, and how to generate 100% unique random string in php
2016-05-03 12:55:46 0 Comments PHP Boy.Lee

compare PHP file_get_contents and curl for grab online

In PHP develop, we usually need grab data online, we have two tools: file_get_contents and curl, this topic will compare this two tools based on normal develop and give some advices
Use PHP and Nginx to control CDN refresh time
2016-04-21 16:44:45 0 Comments CDN Boy.Lee

Use PHP and Nginx to control CDN refresh time

CDN(Content Delivery Network) is a very popular tool in our dev, it use outside CDN server to cache and faster resource load, because of the cache ability, It's pain to refresh. here to introduce a way use PHP+Nginx to full control CDN refresh time.
New YiiLib.com online

New YiiLib.com online

after about 1 month dev, the new Yiilib.com is online, just hope the new site can bring you some new feeliing
2013-03-14 19:24:47 0 Comments PHP Boy.Lee

understand relation between PHP variable $_SERVER and HTTP request

analysis the relation between PHP variable $_SERVER and HTTP request
2013-01-25 23:50:06 0 Comments PHP Boy.Lee

CURL demo code

Code demo for how to use PHP's CURL

Code Demo for PHP's urlencode and urldecode

Demo code help understand php's URL encode and decode functions: urlencode and urldecode

Auto switch Mac os X's VPN line

can system file to let VPN auto switch line on Mac os X

use bindValue() build like statement in Yii 1.0 DAO

In Yii 1.0 DAO mode, use bindValue() build like statement