Re: $_POST[] - last character cut away!!
| From: | Herbert Mraz | Date: | Mon, 29 Apr 2002 21:04:21 +0000 |
| Subject: | Re: $_POST[] - last character cut away!! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-95269@lists.php.net to get a copy of this message | ||
HTML - body contains:
<form method="post" action="test.php">
<input type="text" name="foo">
<input type="submit">
</form>
test.php contains:
<?
echo $_POST['foo'];
?>
when I type in: 'example'
test.php echoes : 'exampl'
string-length doesn't matter...
> On Mon, 29 Apr 2002, Herbert Mraz wrote:
> > Strange problem here (win2k - iis 5.0 - php 4.2.0):
> >
> > whenever I send formdata by POST-method, the last character gets
> > stripped...everything's fine when I use GET!
> > I tried various different (HTML-) input types, same everywhere...
>
> Can you show a self-contained sample that shows the simplest case where
> this occurs (ideally a 3- or 4-line program)?
>
> miguel