易截截图软件、单文件、免安装、纯绿色、仅160KB

php获取环境信息

系统版本比较
mixed version_compare ( string version1, string version2 [, string operator] )
version_compare('5.1','<');  //比较当前版本是否小于5.1
是否开启自动/
get_magic_quotes_gpc() 
return 1 on: will add slash.
return 0 off:willn't add.
if(get_magic_quotes_gpc()) {
 $cmd = stripslashes($_REQUEST['cmd']);
}
设置php.ini
ini_set("max_execution_time",0);


相关文档:

PHP自动转换转义字符

在php.ini文件中magic_quotes_gpc = on   ---- 一般情况下是on,怕用户忘记转义某些特殊字符。
因此,要判断当前php的配置要取得我们想要的内容。
$gpc=get_magic_quotes_gpc();     ----返回1,magic_quotes_gpc = on,0为off
if ($gpc==1){
     $json=s ......

PHP exif 介绍

 // PHP exif
// --
// wikipedia 介绍:
// EXIF(Exchangeable image file format)是可交换图像文件的缩写,是专门为数码相机的照片设定的,可以记录数码照片的属性信息和拍摄数据。
// EXIF可以附加于JPEG、TIFF、RIFF等文件之中,为其增加有关数码相机拍摄信息的内容和索引图或图像处理软件的版本信息。
......

apache php 常见问题

 linux下apache+php安装常见问题 configure: error: Unable to find libgd.(a|so)
如果使用的是ubuntu或debian就很简单了,直接sudo apt-get install apache2 libapache2-mod-php5 php5 php5-gd 就基本上搞定,但是用源代码安装还是很麻烦~
wget http://www.boutell.com/gd/http/gd-2.0.11.tar.gz
tar zxvf gd-2.0 ......

linux+ngnix+php 安装配置

 软件下载地址:
pcre:http://www.pcre.org/ 
Nginx:http://nginx.net/
spawn-fcig: http://redmine.lighttpd.net/projects/spawn-fcgi/news
利用 wget 命令下载相应的 安装包
步骤
1、安装pcre
     ngnix 需要安装pcre库:
    wget http://sourceforge.net ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号