Objective is to redirect the website user based on the location. If the user is at the office at a specified ip address, when an icon is clicked they will have access to the employee area. If the user is not at the specified ip address they will get a not access web page.
A icon on the home page will be an hyperlink to the following PHP code:
( ipfliper.php)
<?php
if ($_SERVER['REMOTE_ADDR']=='69.245.218.248') { header('Location: http://www.turnstone.org/employee2/index.html');}
else
{ header('Location: http://www.turnstone.org/notatoffice.html');}
exit;
?>
I keep trying without success? Any ideas?
Thank you Russ at Techexpressinc.com