php ajax debug method -- make log in a text file
2009-12-02 22:18
513 查看
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(); //
相关文章推荐
- android错误:The method makeText(Context, CharSequence, int) in the type
- Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP inst
- Cannot start session without errors, please check errors given in your PHP and/or webserver log file
- android错误:The method makeText(Context, CharSequence, int) in the type
- Cannot start session without errors, please check errors given in your PHP and/or webserver log file
- The method makeText(Context, int, int) in the type Toast is not applicable for the arguments (new Vi
- android错误:The method makeText(Context, CharSequence, int) in the type
- android错误:The method makeText(Context, CharSequence, int) in the type
- android 的The method makeText(Context, CharSequence, int) in the type Toast is not applicable fo(
- Why is the "DEBUG: Error 2836" message generated in the DB2 V8, V9.1, or V9.5 installation log file on Windows system?
- Read in text file line by line php - newline not being detected
- android错误:The method makeText(Context, CharSequence, int) in the type
- Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP inst
- Cannot start session without errors, please check errors given in your PHP and/or webserver log file
- android错误:The method makeText(Context, CharSequence, int) in the type
- PHP+ajaxfileupload+jcrop插件完美实现头像上传剪裁
- 解决Zend加密的PHP页面出现Fatal error: Incompatible file format: The encoded file has format major ID 1, whereas the Loader expects 4 in
- SYBASE备份报错:Can't open a connection to site 'SYB_BACKUP',see the error log file in the ASE directory
- Debug JavaScript in JSP or PHP Pages with Visual Studio 2008
- 解决MAC下PHP连接MYSQL错误Warning: mysql_connect(): No such file or directory in conn.php