Bug #17645: problem in variables using between html and php
| From: | ritaceresi at tiscalinet dot it | Date: | Fri, 07 Jun 2002 16:18:10 +0000 |
| Subject: | Bug #17645: problem in variables using between html and php | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-9773@lists.php.net to get a copy of this message | ||
From: ritaceresi@tiscalinet.it
Operating system: AIX 4.3.3
PHP version: 4.2.1
PHP Bug Type: Apache related
Bug description: problem in variables using between html and php
We have installed an apache 1.3.19 recompiled with the activation of php
4.2.1 module on AIX 4.3.3. The php mainly works because if we have a php
file it is correctly interpreted.
The problem arises when we try to capture a variable value from a html
form
and we try to use the value of that variable: it seems that the value is
lost. We run the same example to Linux platform instead of AIX and it
works
fine!
Here the simple test we perform:
=======================
File test.html
<html>
<body>
prova
<form name="test" method="post" action="risposta.php">
<input type="text" name="campo" size=15 maxlength=8>
<input type="submit" name="invia">
</form>
</body>
</html>
File risposta.php
<?PHP
echo "E' stato inviato:<br>";
echo "--->" . $campo . "<---<br>";
?>
The result was:
The result is :
E' stato inviato:
---><---
Any idea??
Thanks
--
Edit bug report at http://bugs.php.net/?id=17645&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17645&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17645&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17645&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17645&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17645&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17645&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17645&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17645&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17645&r=globals