php不常用但有用方法总结

setproctitle("myscript")         //设置当前进程标题  setthreadtitle("myscript");     //设置当前线程标题 

mime_content_type('1.jpg')     //返回mime_type image/jpeg

parse_ini_file("sample.ini");     //解析一个ini文件并返回数组

parse_ini_string()                   //解析一个ini字符串并返回数组

iconv("gbk", "UTF-8", $text)          //$tetxt变量gbk转换为utf8

imageinterlace('1.jpg',1)             //图像被创建为渐进式 JPEG 

imagealphablending( resource $image , bool $blendmode ) //允许在真彩色图像上使用两种不同的绘画模式,在加水印的时候png不透明有用

time_sleep_until( float $timestamp )    //使脚本睡眠到指定的时间为止


Jennifer Lopez went the futuristic route
miranda lambert weight loss Usefulness of Wrought Iron In Stair Rails

purses and other accessories by visiting their website
weight loss tipsHow to Take Accredited Online Courses
youjizz
此条目发表在 网站开发 分类目录。将固定链接加入收藏夹。

评论功能已关闭。