View Single Post
Old 06-03-2008, 07:34 PM   #8 (permalink)
SpYkE112
The Contributor
 
Join Date: May 2008
Location: Denmark
Posts: 70
Thanks: 3
SpYkE112 is on a distinguished road
Default

GET and POST are different methods of sending user input to the server, GET is values in the url like:
Code:
http://example.com/?get=this
You can call it whatever you want it is very easy to manipulate.

POST on the other is a bit more complicated but indeed possible to manipulate, but if you know some basic PHP you will be able to secure your self. But POST is the most popular way of sending form data into a PHP script.

A simple code snippet with POST...
PHP Code:
<?php
if (isset($_POST['submit'])) {
    echo(
'You submitted');
}
?>
<form action="" method="post">
    <input type="submit" name="submit" value="submit" />
</form>
That is the basic things about GET and POST :)
SpYkE112 is offline  
Reply With Quote
The Following User Says Thank You to SpYkE112 For This Useful Post:
j4v1 (06-03-2008)