ok,懂了
所在版块:社会百科 发贴时间:2003-09-01 16:02

用户信息
复制本帖HTML代码
高亮: 今天贴 X 昨天贴 X 前天贴 X 
register_globals = On

因为:
In PHP 4.2.0 and later, the default value for the PHP directive register_globals is off. This is a major change in PHP. Having register_globals off affects the set of predefined variables available in the global scope. For example, to get DOCUMENT_ROOT you'll use $_SERVER['DOCUMENT_ROOT'] instead of $DOCUMENT_ROOT, or $_GET['id'] from the URL http://www.example.com/test.php?id=3 instead of $id, or $_ENV['HOME'] instead of $HOME.

所以,register_globals = On 以后,就和以前一样可以自动解析了
.
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!

天將降大任於斯人也必先苦其心誌勞其觔骨餓其體膚空乏其身行拂亂其所為所以動心忍性增益其所不能
 相关帖子 我要回复↙ ↗回到正文
php question Wahoo   (68 bytes , 419reads )
进来 cking   (194 bytes , 500reads )
ok,懂了 Wahoo   (525 bytes , 263reads )
但是还是有问题 Wahoo   (190 bytes , 222reads )