Whether the request was GET or POST : Request Info « Design Patterns « PHP






Whether the request was GET or POST


<?

echo getenv("$REQUEST_METHOD");

?>


           
       








Related examples in the same category

1.For GET requests, the encoded data send appended to the URL
2.The full address of the request including query string
3.The address of the page from which the request was made