RE: [PHP] $_POST vars problem
| From: | Ford, Mike [LSS] | Date: | Mon, 20 Jan 2003 18:23:53 +0000 |
| Subject: | RE: [PHP] $_POST vars problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-132276@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Kenneth Brill [mailto:kbrill@multi.com]
> Sent: 20 January 2003 15:53
>
> I just changed my server to SSL, everything worked before
> that. now if I
> have a form with an input box (named "searchstring" for
> example) with a
> value of "TEST", when that form is posted (submitted) I get
> the following:
>
> foreach($_POST as $key => $value) {
> echo "[POST]Key: '$key'; Value: '$value'<br>\n";
> }
>
> will print:
> Key:'searchstring' ; Value: 'TESTsearchstring=TEST'
If you're using Apache 2, I suggeest you browse on over to this bug report:
http://bugs.php.net/bug.php?id=18648. (Well,
maybe you want to go take a
look there anyway, as it's definitely concerning this very behaviour.)
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS, LS6 3QS, United Kingdom
Email: m.ford@lmu.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211