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

From: Date: Sat, 28 Sep 2002 09:47:39 +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-12822@lists.php.net to get a copy of this message
ID: 19644 Updated by: goba@php.net Reported By: zyprexia@php.net -Status: Open +Status: Won't fix Bug Type: Website problem Operating System: Linux 2.4.19 (Slackware 8.1) PHP Version: 4.2.3 New Comment: We have info at http://php.net/mirroring about what settings PHP.net mirror required to use to operate. We have register_globals on there. Nearly every piece of code uses global vars on the site, and noone with enough time to rewrite it all... Previous Comments: ------------------------------------------------------------------------ [2002-09-27 19:17:04] zyprexia@php.net 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.. ------------------------------------------------------------------------ [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 (#12822) next »