ID: 16632 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Documentation problem PHP Version: 4.2.0 New Comment:
This bug has been fixed in CVS. You can grab a snapshot of the CVS version at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2002-04-17 16:53:28] [EMAIL PROTECTED] and just a few comments: a) $HTTP_USER_AGENT may work in any php version, it's just that as of 4.2.0 register_globals directive defaults to off, so it's not created automagically that way. b) One can always extract() SERVER vars in such cases, something like: if (!ini_get('register_globals')) { extract($HTTP_SERVER_VARS); } c) Yes it's agreed, the docs will and are being updated to not assume the above or register_globals = on. ------------------------------------------------------------------------ [2002-04-16 08:56:07] [EMAIL PROTECTED] The plan was to integrate the intro into the manual, and extend it in some basic areas.... ------------------------------------------------------------------------ [2002-04-16 07:17:28] [EMAIL PROTECTED] Shouldn't we change the default tutorial at the url below so that it works with both PHP 4.0.x and 4.1.x? http://www.php.net/tut.php Bye, John ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16632&edit=1