- 101 月
-
PHP preg_replace 使用注意事項
當使用 preg_replace 作關鍵字批次 pattern 替換時, 要小心避免關鍵字巢狀替換的問題, 要先替換成獨一無二的代碼,再從代碼替換回來。另外在使用 preg_replace 作字串比對替換時,若 DB 為 BIG5 編碼,也要小心雙位元字碼交錯, 所造成的比對錯誤問題,這裡在處理時要特別小心,免得一失足成千古恨...- Posted by admin Posted on 10 1 月 0 Comments Read More
- 263 月
-
網頁已過期的問題-GET, POST, PostBack
GET urlencode(), encodeURIComponent(), form hidden &- Posted by admin Posted on 26 3 月 0 Comments Read More