I am a newbie. I'm trying to write a php script and put it on the linux server at school.
<--------index.html----------> <form action="action.php" method="POST"> Your name: <input type="text" name="name" /> <input type="submit"> </form>
<--------action.php----------> #!/lusr/bin/php Hi <?php echo $_POST["name"]; ?>.
I did locate php to find the path where php is installed and i got /lusr/bin/php.
index.html is working fine. So after i filled out the index.html form and press SUBMIT. It would print me to the action.php page only that
action.php page would display itself.
I have been trying to figure out this problem for quite some time and any help would be greatly appreciated. at first, i thought something is
wrong with the action.php so i changed the form and index.html but without success. My website is at www.cs.utexas.edu/users/khoa .
Thank you for all your help
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php