For URL GET :
ex: http://blog.becasy.com?p1=A&p2=B
$get_value1 = $_GET[‘p1’];
$get_value2 = $_GET[‘p2’];
For Form POST :
<form method=post>
<imput type=text name=username value=””>
<imput type=text name=password value=””>
</form>
$get_value1 = $_POST[‘username’];
$get_value2 = $_POST[‘password’];