• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Gesior Acc] Problem with directory security

That is most likely a php redirect, checks what ip the user trying to enter has, if its not paypals IPN ips, they send you to the index page.

Code:
if(!in_array($_SERVER['REMOTE_ADDR'], array('173.0.81.1','173.0.81.33','66.211.170.66'))){
    header("Location: http://www.yourwebsite.com");
    exit();
}
 
Don't is more easy to make one index.html to redirect for home?

As im guessing he wants to protect some sort of pages, and with gesiors its only php pages, then just add the code I posted. And another thing to think of that gesior uses www/pages not ex www/pages/accountmanagement.
And if you use a redirect you will just loop the redirect and they will never get to any page at all. So no its not easier.
 
Back
Top