2019-06-03 11:27:55 0 Comments PHP Boy.Lee

Fix PHP Error A non well formed numeric value encountered

When we need calculate time in PHP we will used microtime function, but you may get error "A non well formed numeric value encountered",let's see why it happen
2017-06-13 10:22:11 0 Comments PHP Boy.Lee

AliYun SMS API return InvalidParamString.MalFormed error

The solution for InvalidParamString.MalFormed error that return from AliYun SMS API
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
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.
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
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
2012-01-19 23:49:52 0 Comments PHP Boy.Lee

A new method for generate rand string in PHP

A new method for generate rand string in PHP, used chr() function
2012-01-02 16:54:13 0 Comments PHP Boy.Lee

phpMyAdmin #2002 Login Failure

After install phpMyAdmin, got #2002 error, it's because config wrong so MySQL server is not responding
2011-12-13 19:06:17 0 Comments PHP Boy.Lee

max and min value of unix timestamp for 32bits os

the max and min value for unix timestamp on 32bits os
2011-11-04 15:25:15 0 Comments PHP Boy.Lee

session not working with IE8

use p3p header to fix IE8 session issue
2011-04-15 16:27:53 0 Comments PHP Boy.Lee

php funtion grab each word's first PinYin from Chinese string

php funtion grab each word's first PinYin from Chinese string
2011-04-04 00:13:33 0 Comments PHP Boy.Lee

PHP Regular Expression Code Demo

use Regular Expression in PHP
2011-04-03 23:25:23 4 Comments PHP Boy.Lee

PHP 正则表达式函数库(Perl 兼容)

PHP 正则表达式函数库(Perl 兼容)