Bug #11564: Passing variables using the GET method
| From: | chaz at ro0t dot com | Date: | Tue, 19 Jun 2001 16:18:54 +0000 |
| Subject: | Bug #11564: Passing variables using the GET method | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-57275@lists.php.net to get a copy of this message | ||
From: chaz@ro0t.com
Operating system: Win32
PHP version: 4.0.5
PHP Bug Type: Scripting Engine problem
Bug description: Passing variables using the GET method
<?
if($name) {
echo $name;
}else{
echo "<a href=\"$PHP_SELF?name=#asdf\">Click me</a>";
}
?>
When you click on 'Click Me', it displays the link again, when it should output
'#asdf'. This does not happen using the POST method.
--
Edit Bug report at: http://bugs.php.net/?id=11564&edit=1