I would like to create a simple script that would read a % # from a specific link every time the webpage is opened for example if the number is 11 or above than the webpage would automatically be redirected to a different domain or a subdomain. Is this anyhow possible to do? I would really appreciate any help or any guide for this. Thanks alot guys.
Those two values with be in the URL? If so, you can use $_SERVER['REQUEST_URI'] to find out what URI the current individual is on. With a little bit of parsing, you should be able to get the value needed.