note 35614 rejected from ref.variables by ali
| From: | ali@php.net | Date: | Mon, 08 Sep 2003 13:37:22 +0000 |
| Subject: | note 35614 rejected from ref.variables by ali | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-55797@lists.php.net to get a copy of this message | ||
Note Submitter: wyrdphpuser@wyrdworld.net
----
here's my variable problem with most browsers but Mozilla 1.1.
And wonder if something that was just mentioned about would fix my problem....
This part of a url:
/post.php?action=newthread&fid=13&poll=yes
which should produce:
$action = newthread
$fid = 13
$poll = yes
actually produces this:
$action = newthread&fid=13&poll=yes
$fid = 13
$poll = yes
but var_dump($_GET) produces this:
array(3) { ["action"]=> string(9) "newthread" ["fid"]=>
string(2) "13" ["poll"]=> string(3) "yes" }
is there a reason why by $action value would be different then the $_get["action"] value?
PHP version 4.3.1 this variable value information is right as the php code starts, before anything
happens code wise
btw
if the url part was this:
/post.php?action=newthread&fid=13&poll=yes&topicadmin=
it produces this:
$action = newthread
$fid = 13
$poll = yes
topicadmin=
oddly not:
$action = newthread&fid=13&poll=yes&topicadmin=
$fid = 13
$poll = yes
topicadmin=
JOEy