Ford, Mike [LSS] wrote:
-----Original Message-----
From: VanZee, Timothy [mailto:[EMAIL PROTECTED]
Sent: 02 April 2003 17:31

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


registered_globals is off by default in your version of PHP (its in the release notes)


so, try replacing your echo statement with

echo $_POST['ttt'];

and see if that helps.

--
Burhan Khalid
phplist[at]meidomus[dot]com




-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to