PHP Redirect help
I was given this code by a fellow member but I didn't want to bother him again so I was wondering if anybody else knew.
<?php
$ip_address = $_SERVER['REMOTE_ADDR'];
if ($ip_address == '108.7.3.52')
header("Location: http://myurl.com/http://page.html");
else
header("Location: http://myurl.com/page2.html");
?>
I was wondering if anybody knows the function for an array (more than 1 ip).
Thank you in advance!
D
-- Lisa G
-- Lisa G