#47995 [Bgs]: GET doesnt work
ID: 47995
User updated by: valentiny510 at yahoo dot es
Reported By: valentiny510 at yahoo dot es
Status: Bogus
Bug Type: *General Issues
Operating System: windows xp sp2
PHP Version: 5.3.0RC2
New Comment:
Is not a bug ?
Let supose I have the arg_separator.input a "#" sign and one uri like
this /?test=blabla#test2=bla2
if I try to GET['test'] doesnt work !!
to GET anything from the uri MUST have DISABLED the arg_separator.input
else DOESNT WORK !!
my question is WHY exist this directive if MUST be disabled to GET
something from my uri's
In my opinion if you CAN'T make use of this directive must be a bug
don't you ??
Thank you for your time
Previous Comments:
------------------------------------------------------------------------
[2009-04-16 22:06:00] jani@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2009-04-16 21:56:07] valentiny510 at yahoo dot es
I found the problem, is when I set arg_separator.input = "&"
Why cant get the "test" with GET when this directive is on ?
I think must affect only the separators like
?test=test&test2=test2.
------------------------------------------------------------------------
[2009-04-16 20:55:46] valentiny510 at yahoo dot es
Description:
------------
to resume a long story I just want to say the $_GET doesnt work for me
Reproduce code:
---------------
if ( isset($_GET['test']) ):
echo 'true';
else:
echo 'false';
endif;
Expected result:
----------------
with a uri like http://localhost/?test
or
http://localhost/?test=test
normal well be "true"
Actual result:
--------------
false
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47995&edit=1
Thread (4 messages)