Page 1 of 1
range filter
Posted: Wed Apr 08, 2009 5:46 pm
by shaqa
i was trying to find a sample code to filter ip/block ip in 2 range ussing $_SERVER['REMOTE_ADDR']) filter option?
Re: range filter
Posted: Wed Apr 08, 2009 10:43 pm
by requinix
Do it in the web server, not PHP.
Re: range filter
Posted: Thu Apr 09, 2009 6:14 am
by shaqa
i found how to filter using php i have another question.
currently im redirecting to another location if ip is in blacklist, iwas trying now to find a way to stay in NULL if ip is in list,
Code: Select all
die(header("Location: ".$blocked_redirect));
does any one can modify code above to syaing in NULL or standbye or how can i say in php language.
Re: range filter
Posted: Thu Apr 09, 2009 6:39 am
by Apollo
Exactly what do you mean with 'stay in NULL' ?
Re: range filter
Posted: Thu Apr 09, 2009 7:04 am
by shaqa
doing nothing, disabling everything.loding nothing. stoping everything.
Re: range filter
Posted: Thu Apr 09, 2009 7:11 am
by Apollo
Re: range filter
Posted: Thu Apr 09, 2009 7:57 am
by shaqa
Apollo wrote:will do the trick.
thank you