Bug #10450: Submitting a form to same php file as the form is in, with a query string
| From: | Robbo at Skins dot nu | Date: | Mon, 23 Apr 2001 07:30:20 +0000 |
| Subject: | Bug #10450: Submitting a form to same php file as the form is in, with a query string | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-52171@lists.php.net to get a copy of this message | ||
From: Robbo@Skins.nu
Operating system: Windows Me
PHP version: 4.0.4pl1
PHP Bug Type: Reproduceable crash
Bug description: Submitting a form to same php file as the form is in, with a query string
I have a single file that does both displaying a form if nothing has been submitted, or process data
if data has been submitted. When the file is called with a query string (eg, file.php?hello) the
form is displayed properly (as it should be), but as soon as I hit the submit button after
completing the form, PHP crashes and I get an error 500 (internal server error).
If I remove the query string, everything works fine (but I need the query string for a seperate
function).
This only happens when the form action is post, it works fine with get.
--
Edit Bug report at: http://bugs.php.net/?id=10450&edit=1