[snip]
<--------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"]; ?>.
[/snip]

If you are using PHP with a browser page you do not need the bash line
(#!/lusr/bin/php) in the page. Place a page on the server that has the
following (no need for anything else) to see if PHP is on and working...

<?php

phpinfo();

?>

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

Reply via email to