#19681 [NEW]: GET/POST Variables not parsing
| From: | hyena5 at hotmail dot com | Date: | Tue, 01 Oct 2002 00:17:30 +0000 |
| Subject: | #19681 [NEW]: GET/POST Variables not parsing | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-20835@lists.php.net to get a copy of this message | ||
From: hyena5@hotmail.com
Operating system: Linux RedHat 7.2
PHP version: 4.2.3
PHP Bug Type: Variables related
Bug description: GET/POST Variables not parsing
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 bug report at http://bugs.php.net/?id=19681&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19681&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19681&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19681&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19681&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19681&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19681&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19681&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19681&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19681&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19681&r=globals