It's an Apache 2 / PHP bug. I think if you use $_POST['ttt'], you'll get the correct value, but I'm not sure. Try turning register globals off or using a stable version of Apache that works with PHP (the 1.3 series).
---John Holmes... ----- Original Message ----- From: "VanZee, Timothy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 02, 2003 11:31 AM Subject: FW: [PHP] Html forms to php scripts Repost because no one replied originally. Are there any other lists that anyone knows of for php that could be more helpful? I'm quite disappointed in this one because I thought this was a fairly easy question for those who have been working with php for a while. I have the following issue between my html forms and php scripts. Html file (input.html) looks like this: <form action="input.php" method=post> <input type="text" name="ttt"> <p><input type=submit name=submit value="Submit"></p> </form> Php file (input.php) looks like this: <? echo $ttt; ?> I can input text (i.e. superman) and then click submit. The resulting php page returns: supermanttt=superman It seems to me that it must be something in the php.ini file that needs to be changed, but I can't identify what exactly. Any help would be appreciated. php 4.2.2 Tim Van Zee ITS Network Specialist Governors State University -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php