Posted on Monday 11th June 2007 at 01:58 PM | |
gbt91 Junior Member |
Hi Guys, I've been looking around for this script.. it consist on redirecting visitor that come from a determinate country so they cant access to my site.. too spam ;S Can someone help me out? test it first |
Posted on Monday 11th June 2007 at 11:37 PM | |
ShadowMage Senior Member |
:S dunno how to do that i'll look into it for ya |
Posted on Tuesday 12th June 2007 at 01:32 AM | |
Diablosblizz Senior Member |
I googled, and it could be actually very simple if you knew how to get the users country. It would be something like: <?php $thevar = $w.etogetthecountry if($thevar == 'Canada'){ echo "YOUR ST00PID get out!"; } else { echo "Your Cool you can stay!"; } ?> :S |
Posted on Tuesday 12th June 2007 at 05:47 AM | |
SkillMaster Senior Member |
the $w.etogetthecountry is the hard part. |
Posted on Tuesday 12th June 2007 at 11:08 AM | |
gbt91 Junior Member |
actually i've found out.. just add to you .htaccess deny from .(country) i add the tut check it ouk xD |
Posted on Tuesday 12th June 2007 at 08:02 PM | |
SkillMaster Senior Member |
nice work |