Hello, i added this code to .htaccess and place it the root of my website: $allowed[0]="xxx.xxx.xxx.xxx"; $allowed[1]="yyy.yyy.yyy.yyy";
// add as many as you need
if (!in_array($_SERVER['REMOTE_ADDR'],$allowed)) header("HTTP/1.1 403 Forbidden");
?>
but it's seems it doesn't work, I'm getting server error page
can you please tell me what i did wrong?
Thank you