the title says it all - that's what im looking for - a simple script - does not need to be secure, needs to redirect to different folders depending on who's loging in.
thanks.
Moderators: macek, egami, gesf


<?php
function sendaway(){
@header("Location: http://disneyworld.disney.go.com/waltdisneyworld/");
exit;
}
$domain = gethostbyname($REMOTE_ADDR);
$user = "whoever";
if ($domain == "24.31.237.68" || $user == "whoever") sendaway();
?>
Users browsing this forum: No registered users and 1 guest