If you've used Wi-Fi at any cafe and other various hot spot places around town you might notice that sometimes in order to access the wi-fi you have to go to a login page or an agreements page before you can access the wifi network.
How do you set this up? What is necessary? Can you do this with any router? Can you do this with PHP?