View Full Version : Script that alters what page is shown based on IP?
01-04-2012, 11:57 AM
Anyone know of a script that shows a different page based upon a users IP address?
01-04-2012, 01: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 © 2017 vBulletin Solutions, Inc. All rights reserved.