From: [EMAIL PROTECTED] Operating system: Linux 2.4.19 (Slackware 8.1) PHP version: 4.2.3 PHP Bug Type: Compile Warning Bug description: php.net is still using global vars!
Hi, I'm the maintainer of the nl2.php.net mirror. After upgrading from php 4.1.2 to php 4.2.3, the search capabilities of the php.net site were down to zero! Reason, like announced by the php dev team, global vars are off. so the variable $SERVER_NAME (in /search.php) doesn't exist within 4.2.3. This has to be changed into _SERVER["SERVER_NAME"], Same with $REQUEST_URI. I'm even still a bit suprised that did wasn't fix on the main PHP site. I don't have cvs access to the phpweb tree, so i can't change it. For the moment i have enabled global vars to enable the search (quick links) capabilities of the php.net site -- Edit bug report at http://bugs.php.net/?id=19644&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19644&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19644&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19644&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19644&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19644&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19644&r=support Expected behavior: http://bugs.php.net/fix.php?id=19644&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19644&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19644&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19644&r=globals