Messages - The Code Queryer [ switch to compact view ]

Pages: prev1 2 3 4 5 6 [7]
31
Coding Snacks / Re: Know Of Php Script To Block EU Visitors ?
« on: April 06, 2019, 12:21 PM »
Know of any free php scripts I can install on my website to do the job to redirect EU users somewhere else or downright block them so my website is not accessible to them ?
-The Code Queryer (April 05, 2019, 02:12 PM)

Yes, and so do you:

https://www.donationcoder.com/forum/index.php?topic=45495.msg428925#msg428925

I suggest waiting for a response from the author of that script. :Thmbsup:
According to this link:
https://www.php.net/manual/en/geoip.requirements.php

You need c library installed. Not sure how to install that on my cPanel. I was looking for something with php alone.

32
Coding Snacks / Know Of Php Script To Block EU Visitors ?
« on: April 05, 2019, 02:12 PM »
Folks,

I am trying to block EU visitors due to GDPR.
Know of any free php scripts I can install on my website to do the job to redirect EU users somewhere else or downright block them so my website is not accessible to them ?

33
DC Member Programs and Projects / Re: GDPR Blocking (PHP Edition)
« on: April 05, 2019, 02:08 PM »
How come this ain't working for me ?
I get error:

Fatal error: Uncaught Error: Call to undefined function geoip_country_code_by_name() in C:\xampp\htdocs\test\visitor_country.php:23 Stack trace: #0 {main} thrown in C:\xampp\htdocs\test\visitor_country.php on line 23

Pages: prev1 2 3 4 5 6 [7]
Go to full version