| Article: |
PHP Form Handling | |
| Subject: | PHP | |
| Date: | 2009-05-08 09:46:25 | |
| From: | UTHUMI | |
|
HI I AM RAM i BEGINER. <body> <form action="<?php echo $_SERVER['PHP_SELF'];?>" method="post" target="_blank" >
</form> </body> <?php if(isset($_POST['send'])) { echo "Accessing Firstname : " . $_POST['Fname'] . "<br>"; echo "Accessing Lastname : " . $_POST['Lname'] . " "; echo "gender " . $_POST ['gender']. " "; echo "food " . $_POST ['food']. " "; echo "education " . $_POST ['education']. " "; echo "TofD" . $_POST ['TofD']. " "; echo "quote" . $_POST ['quote']. " "; } ?> IF RUN THIS PAGE BUT I GOT THIS http://localhost/FORMS/<?php%20echo%20$_SERVER['PHP_SELF'];?> (HTTP Error 403 - Forbidden ) PLS HELP ME... THANK U |
||
Showing messages 1 through 1 of 1.
-
PHP
2010-06-15 21:01:26 proteinguy [View]
It appears that PHP interuptation is not running. Do the following. As the first line in the document add <?php phpinfo() ?>. Now reload the page. If you don't get a lot of information displayed in the browser window ensure that PHP is running or make sure the file name of the page is *.php.


