ID: 17897
Comment by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Bogus
Bug Type: Apache2 related
Operating System: Linux
PHP Version: 4.2.1
New Comment:
Thanks [EMAIL PROTECTED]!
Adding "AddType application/x-httpd-php .php" to the conf file worked
for me.
PHP 4.2.3
APACHE 2.0.40
on WindowsXP
Previous Comments:
------------------------------------------------------------------------
[2002-09-06 14:12:36] [EMAIL PROTECTED]
this helped me...
LoadModule php4_module php4apache2.dll
AddType application/x-httpd-php .php
this doen't work
#LoadModule php4_module php4apache2.dll
#<FilesMatch "\.php$">
# SetOutputFilter PHP
#</FilesMatch>
------------------------------------------------------------------------
[2002-09-06 14:05:20] [EMAIL PROTECTED]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled</title>
</head>
<body>
<form name="form" action="t.php" method="post">
<input type="text" name="x"><input type="submit" name="submit">
</form>
</body>
</html>
<?
echo $_POST["x"];
echo $x;
?>
both echo are empty... oh yea and file is called t.php... and i have
gloabal = on and populoating varibles with post data...
help...
------------------------------------------------------------------------
[2002-07-09 18:22:00] [EMAIL PROTECTED]
Not really bug (in PHP). If '/' is not added, then a redirection is
done to the / address..and of course the post data is lost.
Using that kind of urls in "action" field is not very wise..
------------------------------------------------------------------------
[2002-07-09 14:09:09] [EMAIL PROTECTED]
This workaround works:
Sending the value called a from a form:
$string = $_POST["a"];
Apache 2.0.39 & php 4.2.1
------------------------------------------------------------------------
[2002-07-08 22:32:31] [EMAIL PROTECTED]
Confirmed [EMAIL PROTECTED] example, of action="foo/" vs
action="foo", and lost POST values for the latter. With Apache1 and
GET working both ways. I'm not sure about the apache2/post bug.
Is this a php-dev, phpdoc, or apache bug?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/17897
--
Edit this bug report at http://bugs.php.net/?id=17897&edit=1