1. verax5

    Detect HTTP request type in PHP using $_SERVER array variable

    $_SERVER is an array containing data such as HTTP headers, paths, and script locations. Basically server and execution environment information. This information is generated by your web server. So if you var_dump($_SERVER), you will notice a big associate array where you can dig for specific...