RE: [PHP] unexpected return from $_POST['foo']
| From: | Ford, Mike [LSS] | Date: | Fri, 27 Jun 2003 09:32:35 +0000 |
| Subject: | RE: [PHP] unexpected return from $_POST['foo'] | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-153080@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Kyle W. Cartmell [mailto:banyanvines@hotmail.com]
> Sent: 27 June 2003 09:51
>
> If I type "blueberry_muffins" into the text field and click
> submit, the resulting output is as follows...
>
> blueberry_muffinswakka=blueberry_muffins
>
> However the output I expected was, of course...
>
> blueberry_muffins
>
> Have you ever seen anything like this?
Yes.
> Am I doing something wrong?
Yes -- using the wrong combination of PHP and Apache versions -- this is a known bug with
less-recent versions of Apache 2 (not sure if the version of PHP matters, other than that only
certain version combinations work anyway).
I suggest you upgrade to the most recent release of PHP, 4.3.2, (if you're not already running
it) and the latest compatible version of Apache 2 (check the PHP manual and installation
instructions to see what that is). Or upgrade to Apache 1.3.27 ;) -- Apache 2 is still considered
to be only beta-quality (at least in combination with PHP).
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