i-fm Posted March 12, 2007 Share Posted March 12, 2007 Hi all, 1st post, hope you can help. I run an english site - www.i-fm.net (which has as lock content to licensed users) and we intend to now also do a version for U.A.E.... As it's an old system originally, i will be feeding the content through to the new site. which isn't a problem.... Anyway to get to the point. Is it possible to block viewers from the uk accessing certain pages/content for the new site, or another would be to block everyone from certain pages/content unless they are in UAE. Thanks in Advance Dave Link to comment https://forums.phpfreaks.com/topic/42353-php-country-blocking/ Share on other sites More sharing options...
monk.e.boy Posted March 12, 2007 Share Posted March 12, 2007 try looking at the source of http://bbclone.de/, they profile visitors on the location they are browsing from (UK, US, NL etc.) monk.e.boy Link to comment https://forums.phpfreaks.com/topic/42353-php-country-blocking/#findComment-205459 Share on other sites More sharing options...
o3d Posted March 12, 2007 Share Posted March 12, 2007 you could try geoip; library that can be used by php to determine the source from where the client is browsing Link to comment https://forums.phpfreaks.com/topic/42353-php-country-blocking/#findComment-205471 Share on other sites More sharing options...
mbtaylor Posted March 12, 2007 Share Posted March 12, 2007 Aye, the MaxMind GeoIP Lite data + API would suit your needs well and its free Link to comment https://forums.phpfreaks.com/topic/42353-php-country-blocking/#findComment-205505 Share on other sites More sharing options...
i-fm Posted March 12, 2007 Author Share Posted March 12, 2007 Thanks guys, Geoip looks very handy, am trialling that. Dave Link to comment https://forums.phpfreaks.com/topic/42353-php-country-blocking/#findComment-205616 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.