DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Know Of Php Script To Block EU Visitors ?  (Read 15,498 times)

The Code Queryer

  • Participant
  • Joined in 2019
  • *
  • Posts: 33
Know Of Php Script To Block EU Visitors ?
« on: April 05, 2019, 07: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 ?

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,565
Re: Know Of Php Script To Block EU Visitors ?
« Reply #1 on: April 05, 2019, 07:30 PM »
-
« Last Edit: April 05, 2019, 10:20 PM by Curt »

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 9,827
    • Participated in NANY Challenge Eight Times
    • Cody Award
Re: Know Of Php Script To Block EU Visitors ?
« Reply #2 on: April 05, 2019, 07:34 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 ?

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:

The Code Queryer

  • Participant
  • Joined in 2019
  • *
  • Posts: 33
Re: Know Of Php Script To Block EU Visitors ?
« Reply #3 on: April 06, 2019, 05: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 ?

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.

Original address: https://www.donationcoder.com/forum/index.php?topic=47453.0