#18695 [Opn]: Web Site - /do_download.php is not PHP-4.2.2 Ready

From: Date: Fri, 02 Aug 2002 11:52:16 +0000
Subject: #18695 [Opn]: Web Site - /do_download.php is not PHP-4.2.2 Ready
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-11683@lists.php.net to get a copy of this message
ID: 18695 Updated by: goba@php.net Reported By: dang@planetmirror.com Status: Open Bug Type: Website problem Operating System: RedHat Linux 7.2 PHP Version: 4.2.2 New Comment: Nearly all of our pages rely on register_globals=on... I have added the info on register globals to http://php.net/README.mirror Can anyone please inform the mirror site owners? Maybe in the same time as they get to know the new mirroring system? Previous Comments: ------------------------------------------------------------------------ [2002-08-02 07:40:46] sander@php.net Reclassified. ------------------------------------------------------------------------ [2002-08-01 23:26:05] dang@planetmirror.com Hi! I help run you're Australian Mirror (PlanetMirror.com), and have recently upgraded one of our "testing" web servers to PHP 4.2.2. However, upon trying to download php-4.2.2.tar.bz2 (or any other file), I get "Invalid file requested for download!" on the 4.2.x box, even though I can download them from the live servers (running 4.1.2). Upon investigation, it seems the do_download.php script (and, possibly, a number of other pages in the web site) rely on variables from GET/POST requests, that are assumed to be available globally. From 4.2.x, these are supposed to be accessed using $_GET, etc. I think this should be fixed, or a note sent out that all mirror's should put a "php_value register_globals 'on'" line in the Apache configuration for the PHP mirror? Your help with this will be appreciated. Regards, Dan Goodes PlanetMirror Admin ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18695&edit=1

« previous php.mirrors (#11683) next »