PHP.INI 打開DeBug模式
你學PHP 應該是PHP5 , 所以預設都會把錯誤訊息關起來, 我還是習慣把他打開.
你可以研究看看看 PHP.INI 這個設定檔 內的error_reporting 跟DISPLLY_ERRORS 二個 設定值. 我習慣的設定是用下面這個.
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
display_errors = On
PHP.INI 打開DeBug模式
你學PHP 應該是PHP5 , 所以預設都會把錯誤訊息關起來, 我還是習慣把他打開.
你可以研究看看看 PHP.INI 這個設定檔 內的error_reporting 跟DISPLLY_ERRORS 二個 設定值. 我習慣的設定是用下面這個.
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
display_errors = On
from http://blog.xuite.net/ahdaa/blog1/34061193
這兩個是Javascript的特殊資料類型
| null | 意指『沒有值』。被視為一個物件(object)。 | 1 |
Zend Debugger Socket link error
錯誤訊息
<b>Fatal error</b>: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/usr/local/zend/mysql/tmp/mysql.sock'
解法一
原本資料庫設定
phpMyAdmin sql query that uses parameters
set@id:=123;
SELECT*FROM users u WHERE u.ID =@id;
測試一
find ./-name *.m -print0 | xargs -0 genstrings -o en.lproj
失敗 原因懶得查
測試二
find ./-name \*.m -print0 | xargs -0 genstrings -o en.lproj

分享一个搭建php版push服务器的流程
from http://www.cocoachina.com/bbs/read.php?tid-30410.html
管理提醒: 本帖被 gagaga 执行加亮操作(2010-08-26)
Push pem文件生成步骤
from http://www.ixiaohuaxiaocao.net/2012/push-pem%E6%96%87%E4%BB%B6%E7%94%9F%E6%88%90%E6%AD%A5%E9%AA%A4
其中pem生成
1. 登录到 iPhone Developer Connection Portal(http://developer.apple.com/iphone/manage/overview/index.action ) 并点击 App IDs
2. 创建一个不使用通配符的 App ID 。通配符 ID 不能用于推送通知服务。例如, com.xxx.iphone
mac eclipse 設定php debugger
設定php debug 有兩種
第一種是zender debug
第二種是xdebug
第一步就是要設定PHP Executable
from http://www.wretch.cc/blog/persongood/14193719
最近實在是太忙了,幾乎每天都八點多才回家,回到家差不多九點了!
回來都是累趴在地上,真是忙忙忙啦,太久沒作筆記了!今天來作個我之前用到的check全選作法
這都在網路上找的,當然是可以使用啦!不過我還要搭配PHP下去使用,才是我要的結果!