php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18695 Web Site - /do_download.php is not PHP-4.2.2 Ready
Submitted: 2002-08-01 23:26 UTC Modified: 2002-08-10 18:53 UTC
From: dang at planetmirror dot com Assigned:
Status: Closed Package: Website problem
PHP Version: 4.2.2 OS: RedHat Linux 7.2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: dang at planetmirror dot com
New email:
PHP Version: OS:

 

 [2002-08-01 23:26 UTC] dang at planetmirror dot 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-08-02 07:40 UTC] sander@php.net
Reclassified.
 [2002-08-02 07:52 UTC] goba@php.net
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?
 [2002-08-10 18:53 UTC] kalowsky@php.net
worked fine, looks like it's really a fix the mirrors information issue.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 16 03:01:33 2025 UTC