Bug #17645 Updated: problem in variables using between html and php

From: Date: Fri, 07 Jun 2002 16:30:40 +0000
Subject: Bug #17645 Updated: problem in variables using between html and php
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-9776@lists.php.net to get a copy of this message
ID: 17645 Updated by: mitja@doticni.net Reported By: ritaceresi@tiscalinet.it Status: Open Bug Type: Apache related Operating System: AIX 4.3.3 PHP Version: 4.2.1 New Comment: You would need to have register_globals enabled, which is probably the problem. http://www.php.net/manual/en/configuration.php#ini.register-globals Previous Comments: ------------------------------------------------------------------------ [2002-06-07 12:18:10] ritaceresi@tiscalinet.it 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 this bug report at http://bugs.php.net/?id=17645&edit=1

« previous php.bugs (#9776) next »