alsoftware.org
Results 1 - 1 of 1
byalsoftware.org, May 3, 2009
Got it up and running in less than 30 seconds, does exactly what i needed.
Smart idea the ip block list to avoid bans for abuse by invalid clicks/impressions!
I did a little modify to allow blocking of the whole class because i'm connecting via hsdpa and my ip changes everytime:
.
.
.
$classB = $myip[0].'.'.$myip[1].'.*.*';
$classC = $myip[0].'.'.$myip[1].'.'.$myip[2].'.*';
if ((!in_array($_SERVER["REMOTE_ADDR"],$blocked_ips))&&
(!in_array($classB,$blocked_ips))&&
(!in_array($classC,$blocked_ips)))
{
.
.
.
as far as i can see it works like a champ
thank you!
Smart idea the ip block list to avoid bans for abuse by invalid clicks/impressions!
I did a little modify to allow blocking of the whole class because i'm connecting via hsdpa and my ip changes everytime:
.
.
.
$classB = $myip[0].'.'.$myip[1].'.*.*';
$classC = $myip[0].'.'.$myip[1].'.'.$myip[2].'.*';
if ((!in_array($_SERVER["REMOTE_ADDR"],$blocked_ips))&&
(!in_array($classB,$blocked_ips))&&
(!in_array($classC,$blocked_ips)))
{
.
.
.
as far as i can see it works like a champ
thank you!
Owner's reply
Thanks for the suggestion. We will implement this in next update.
WZ Tech Support Team


