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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 29 08:01:30 2024 UTC