Restricting access to a page based on the referrer.

As you probably already know, PHP has an array called $_SERVER, which contains information such as: The server name. The request method (whether the request is POST, GET or PUT, etc). The IP address of the user. The visitor’s user agent. It has also has an index called HTTP_REFERER, which should give you the address of […]

Read More...