#19681 [Opn->Bgs]: GET/POST Variables not parsing
| From: | iliaa@php.net | Date: | Tue, 01 Oct 2002 00:22:04 +0000 |
| Subject: | #19681 [Opn->Bgs]: GET/POST Variables not parsing | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-20838@lists.php.net to get a copy of this message | ||
ID: 19681
Updated by: iliaa@php.net
Reported By: hyena5@hotmail.com
-Status: Open
+Status: Bogus
Bug Type: Variables related
Operating System: Linux RedHat 7.2
PHP Version: 4.2.3
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
Since PHP 4.2.0 register_globals are off by default, this is why $url
is blank. If you turn them on in php.ini, you will be able to use $url.
Previous Comments:
------------------------------------------------------------------------
[2002-09-30 19:17:30] hyena5@hotmail.com
Hi,
I just upgraded to 4.2.3 with apache 2.0.42 this evening and my scripts
no longer function as before.
For example if I send a GET_Method URL to my server:
http://www.geomagnet.com/redirect.html?url=www.atomflash.com
the script:
<?
header("Location:http://$url");
exit;
?>
No longer functions unless I add this line before the header function.
$url=$_GET["url"];
Do I have to now define the variables (as in PERL)?
or is this a bug.
Thanks
Scott STolpmann
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19681&edit=1