php on linux..

From: Date: Thu, 08 Jan 2004 06:13:06 +0000
Subject: php on linux..
Groups: php.general 
Request: Send a blank email to php-general+get-174035@lists.php.net to get a copy of this message
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

« previous php.general (#174035) next »