RE: [PHP] Html forms to php scripts
| From: | VanZee, Timothy | Date: | Fri, 04 Apr 2003 14:11:09 +0000 |
| Subject: | RE: [PHP] Html forms to php scripts | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-142334@lists.php.net to get a copy of this message | ||
I have registered_globals on so this shouldn't matter, but:
echo $_POST['ttt'];
returns the same problem as simple
echo $ttt;
Here is my phpinfo();
http://psyche.govst.edu/test.php
I'm in the process of upgrading to apache 2.0.45 and php 4.3.1, so maybe
that will fix things as I have heard that 4.2.2 doesn't like apache2.
Tim Van Zee
ITS Network Specialist
Governors State University
-----Original Message-----
From: Tim Burden [mailto:tim@thebigbrain.ca]
Sent: Wednesday, April 02, 2003 11:07 AM
To: VanZee, Timothy
Cc: php-general@lists.php.net
Subject: Re: [PHP] Html forms to php scripts
What version of Apache are you using? Can you point us to a phpinfo()
file?
----- Original Message -----
From: "Timothy Vanzee" <T-VANZEE@govst.edu>
Newsgroups: php.general
To: <php-general@lists.php.net>
Sent: Wednesday, April 02, 2003 11:31 AM
Subject: FW: [PHP] Html forms to php scripts
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