RE: [PHP] php on linux..

From: Date: Thu, 08 Jan 2004 12:05:43 +0000
Subject: RE: [PHP] php on linux..
Groups: php.general 
Request: Send a blank email to php-general+get-174043@lists.php.net to get a copy of this message
[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(); ?>

« previous php.general (#174043) next »