POST is the alternative to GET. It sends data "invisibly" - your browser transmits the information from the form to the server behind the scenes, without appending it to the URL. POST can be used to send much larger amounts of data than GET< but the results of the form action can not be bookmarked.
Variables sent to a PHP script using the POST method are made available to your program as items in the $_POST global array. For example, data from a text field <input type="text" name="firstname"> sent using POST will be available to your program as $_POST['firstname'] .
The form:
<form action="processform.php" method="get"> <p>Name: <input type="text" name="name"></p> </form>The PHP (saved as processform.php ):
<?php $name = $_GET['name']; echo "Hello, $name"; ?>all rights reseverd by Cramerz.com©. web development by
web design company
DotPeak. hosting by HostBay
all contents on cramerz are the property of Cramerz.com. web design courses