看板 FreeBSD 關於我們 聯絡資訊
小弟之前是設定成register_globals=On 因為裝gallery1.5 在他設定精靈的地方 顯示 Gallery highly recommends that the PHP option 'register_globals' be turned off , for security purposes. Some software, notably the 'Geeklog' CMS, requires th at 'register_globals' be enabled. 嚴重警告! The PHP option 'register_globals' is enabled on your server. Gallery highly re commends that you disable 'register_globals' unless it is required by software on your site. Gallery does not officially support 'register_globals' being en abled, and will attempt to disable it internally. 於是將其turn off後 之前寫的PHP code的 有用到session_start();功能 反而出現 Warning: Unknown(): Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does no t consider global variables as a source of data, unless register_globals is en abled. You can disable this functionality and this warning by setting session. bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on l ine 0 無法吃到session的變數 請問 大家這個選項是有開啟的嗎 謝謝 -- 真33LV10達成 吳: 孫堅 孫尚香 周泰 小喬 大喬 孫策 孫權 甘寧 黃蓋 陸遜 呂蒙 周瑜 太史慈 (終) 蜀: 關羽 張飛 魏延 劉備 馬超 趙雲 月英 龐統 姜維 黃忠 塔矢亮 (終) 魏: 張遼 夏侯惇 甄姬 曹操 徐晃 張郃 司馬懿 曹仁 典韋 他: 呂布 袁紹 孟獲 祝融 董肥 髒腳 剩下 淵肥 許肥 小孟(想到他是男的就...) 剩3個 剩3個了 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.117.197.150