php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21566 problem with $_POST
Submitted: 2003-01-10 06:11 UTC Modified: 2003-01-11 03:15 UTC
From: tawatchai dot ch at chula dot ac dot th Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 4.2.2 OS: Linux Red Hat 8
Private report: No CVE-ID: None
 [2003-01-10 06:11 UTC] tawatchai dot ch at chula dot ac dot th
I submit data using form ...

<form action='page2.php' method='post'>
<input type='text' name='myname'>
<input type='submit'>
</form>

..in page2.php I have

<?
echo "My name is ".$_POST['myname']."<br>";
?>

.. I submit myname as 'Jack' .. I get this..

My name is Jackmyname=Jack

My PHP came and installed with Linux Red Hat 8.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-10 08:44 UTC] sander@php.net
This is probably caused by a bug in older versions of PHP in combination with Apache 2. Please upgrade to the latest version of PHP and Apache 2.
 [2003-01-11 02:25 UTC] j-blion at ifrance dot com
I have a version of the CVS (11/01 02:30).
No changes, it doesn't work fine.

With PHP 4.3.0, same problem.
 [2003-01-11 03:15 UTC] moriyoshi@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.

Thank you for your interest in PHP.

Duplication of bug #18648

Marking as bogus...

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 30 07:01:28 2024 UTC