Christensen Tom wrote:


OK,
I know the transition form apache 1.x to 2 isn't supposed to be easy...
but, here's the deal.
I am setting up a new website, apache 2, redhat 8, php 4.2.2 (default redhat 8 install).

I can't get html forms to pass their variables successfully to my php scripts.
I create a simple form ie
<form name="test" method="post" action="test.php">
<input type="text" name="firstname">
<input type=submit name="submit">

and then my php script:

<?
print $firstname;
print "firstname";
?>

the results of this are that it prints "firstname" (without the quotes) but it never prints the string supplied in the form.
suggestions?
Tom
Might be that the php isn't being processed. Either change to <?PHP.......?> or enable short tags in php.ini.




--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list


Reply via email to