I'm making a website, and have configured my web server to route any request for dynamic content to index.php. On this site, some requests are GET others are POST. How can I distinguish them? Related questions are
- what is the value of the $_GET variable during a POST request?
- what is the value of the $_POST variable during a GET request?
$_GETvalues. A GET request will not have$_POSTvalues.