人氣點閱:2151 |
發表人 |
Script of migrating from PHP 5.2 to PHP 5.3/5.4 2012-10-05 14:34 |
/ / /
|
|
Script of migrating from PHP 5.2 to PHP 5.3/5.4
Deprecated HTTP_GET_VARS HTTP_POST_VARS:
代碼:
grep -r 'HTTP_GET_VARS' . | xargs sed -i 's/HTTP_GET_VARS/_GET/g'
grep -r 'HTTP_POST_VARS' . | xargs sed -i 's/HTTP_POST_VARS/_POST/g'
grep -r 'HTTP_COOKIE_VARS' . | xargs sed -i 's/HTTP_COOKIE_VARS/_COOKIE/g'
grep -r 'HTTP_POST_FILES' . | xargs sed -i 's/HTTP_POST_FILES/_FILES/g'
grep -r 'HTTP_SERVER_VARS' . | xargs sed -i 's/HTTP_SERVER_VARS/_SERVER/g'
grep -r 'HTTP_ENV_VARS' . | xargs sed -i 's/HTTP_ENV_VARS/_ENV/g'
________________
美術插畫設計案子報價系統 v0.1 Beta
爪哇禾雀
|
|
Type
繪圖畫廊 設計藝廊 攝影相簿 留言板 最愛收藏 分類標籤
暱稱: Type 註冊: 2002-11-30 發表: 11171 來自: vovo2000.com
V幣: 901757
|
|
|
|
|