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

php ajax debug method make log in a text file

log into file
//
ob_start();
echo "<pre>";
print_r($data);
echo "</pre>";
$a=ob_get_contents();
//DAL::remove("insert into mytest(vvv) values('$a')");
$filename = "file.txt";
$file = fopen($filename, "w"); //open file
fwrite($file, $a); //first line
fclose($file); //close
ob_end_clean();
//


相关文档:

php中smarty模版引擎中的缓存应用!

1,Smarty缓存的配置:
   $smarty->cache-dir="目录名";   //创建缓存目录名
   $smarty->caching=true;   //开启缓存,为false的时候缓存无效
   $smarty->cache_lifetime=60; //缓存时间,单位是秒
2,Smarty缓存的使用与清除
   $marty->d ......

php对zip文件解压和压缩

<?php
/**
* @author wyt
*
*/
class zip {
private $_zipObj=null;
private $_zipfcArr=array();
private $_basePath=null;
private $_zipName;
/**
* init
* @param zip文件名称 $zipName
*/
function __construct($zipName){
$this->_zipName=$zipName;
$this->_zipObj= ......

XMLHttpRequest Ajax 实例简介

一、XMLHttpRequest 对象的方法与属性
方    法
描    述
abort()
停止当前请求
getAllResponseHeaders()
把HTTP请求的所有响应首部作为键/值对返回
getResponseHeader("header")
返回指定首部的串值
open("method", "url")
建立对服务器的调用。method参数可以是GET、POST或PUT。 ......

win下Apache mysql PHP配置

1、HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Eventlog\Application\MySQL
目录删除
2、HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Services\Eventlog\Application\MySQL
目录删除
3、HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\MySQL
目录删除 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号