Project #35418 - php scritpt to block countries

hello
i'm trying to write an very simple php script that block a country from access an page based on ip address

for example if i want to allow only us country to access the page i should change value of $USA=1; in the file


and the will be used like this

<? require_once 'block.php'; ?>


and if an country blocked , the page should print an error 404 page

Subject Computer
Due By (Pacific Time) 07/24/2014 12:00 am
Report DMCA
TutorRating
pallavi

Chat Now!

out of 1971 reviews
More..
amosmm

Chat Now!

out of 766 reviews
More..
PhyzKyd

Chat Now!

out of 1164 reviews
More..
rajdeep77

Chat Now!

out of 721 reviews
More..
sctys

Chat Now!

out of 1600 reviews
More..
sharadgreen

Chat Now!

out of 770 reviews
More..
topnotcher

Chat Now!

out of 766 reviews
More..
XXXIAO

Chat Now!

out of 680 reviews
More..
All Rights Reserved. Copyright by AceMyHW.com - Copyright Policy