php.ini old-style input arrays 設定

Ajax搭配PHP的學習心得與討論

版主: shiauuen

php.ini old-style input arrays 設定

文章xycnnn 發表於 2008年 8月 5日, 16:32

如果你的主機php4版本升級為php5, 原來程式裡的 HTTP_GET_VARS ...等陣列將無法使用(只能使用簡短的用法,如$_GET),記得將php.ini裡面以下值改為On
※ php5裡面預設是關閉的
代碼: 選擇全部
; Whether or not to register the old-style input arrays, HTTP_GET_VARS
; and friends.  If you're not using them, it's recommended to turn them off,
; for performance reasons.
register_long_arrays = On


值改為On之後對於效能會有一些影響
資訊生活無所不在,你準備好了嗎?還是任由它將你淹沒??
圖檔
http://hanook.echia.tw
頭像
xycnnn
 
文章: 52
註冊時間: 2008年 3月 30日, 21:04

回到 Ajax+PHP

誰在線上

正在瀏覽這個版面的使用者: 沒有註冊會員 和 1 位訪客

cron