get_defined_constants( PHP 4中 >= 4.1.0 , PHP 5中)
get_defined_constants -返回一个关联数组的名字所有的常量和他们的价值观
get_defined_constants( PHP 4中 >= 4.1.0 , PHP 5中)
get_defined_constants -返回一个关联数组的名字所有的常量和他们的价值观
ob_start()是开启output buffering,也就是缓冲输入内容
ob_gzhandle使用gzip处理内容,作为ob_start的参数,表示当输入缓冲内容时使用的回调函数,你也可以自己定义回调函数
在开发程序时经常会碰客户或网友输入html 进行注入操作,php提供一专业的函数来处理这种情况的发生,htmlspecialchars函。
htmlspecialchars(string,int quote_style,string charset);
php imagecolorallocatealpha 创建透明图片实例
imagecolorallocatealpha(resource $image , int $red , int $green , int $blue, int $alpha )
ksort() 函数按照键名对数组排序,为数组值保留原来的键。
可选的第二个参数包含附加的排序标志。
描述
布尔imagecopyresized($ dst_image,$ src_image,$ dst_x,$ dst_y,$ src_x,$
php imagecreatetruecolor创建高清图片函数
imagecreatetruecolor()返回一个图像标识符代表指定大小的黑色形象。
imagealphablending(PHP 4中 >= 4.0.6,PHP 5中)
imagealphablending - 设置图像混合模式
imageantialias(PHP 4 >= 4.3.2, PHP 5)
描述
imagecolorallocate - 分配一个彩色的图像
int imagecolorallocate ( resource $image , int $red , int $green , int $blue)
个PHP会话变量是用来存储用户会话信息,或更改设置。 Session变量容纳约一个单一的用户信息,并提供给一个应用程序的所有页面
PHP的会话变量