#19644 [Opn]: php.net is still using global vars!

From: Date: Sat, 28 Sep 2002 00:17:04 +0000
Subject: #19644 [Opn]: php.net is still using global vars!
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-12817@lists.php.net to get a copy of this message
ID: 19644 Updated by: zyprexia@php.net Reported By: zyprexia@php.net Status: Open -Bug Type: Compile Warning +Bug Type: Website problem Operating System: Linux 2.4.19 (Slackware 8.1) PHP Version: 4.2.3 New Comment: M$ Mouse has his own mind with dropdowns ;-( This time is selected the right option. Tip: Disable your scrollwheel under windows, it changes your option within the dropdown in stead of going down the page.. Previous Comments: ------------------------------------------------------------------------ [2002-09-27 19:12:11] zyprexia@php.net 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 this bug report at http://bugs.php.net/?id=19644&edit=1

« previous php.mirrors (#12817) next »