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

From: Date: Fri, 02 Aug 2002 03:26:06 +0000
Subject: #18695 [NEW]: Web Site - /do_download.php is not PHP-4.2.2 Ready
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-15781@lists.php.net to get a copy of this message
From: dang@planetmirror.com Operating system: RedHat Linux 7.2 PHP version: 4.2.2 PHP Bug Type: Unknown/Other Function Bug description: Web Site - /do_download.php is not PHP-4.2.2 Ready 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 bug report at http://bugs.php.net/?id=18695&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18695&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18695&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18695&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18695&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18695&r=support Expected behavior: http://bugs.php.net/fix.php?id=18695&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18695&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18695&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18695&r=globals

« previous php.bugs (#15781) next »