View Full Version : Script that alters what page is shown based on IP?
01-04-2012, 12:57 PM
Anyone know of a script that shows a different page based upon a users IP address?
01-04-2012, 02:55 PM
var ip = "<?php echo $_SERVER['REMOTE_ADDR']?>";
// redirect if a certain IP address matches
The file should either have a .php suffix or be parsed for PHP.
All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.