ban certain browers

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Vegan
Forum Regular
Posts: 574
Joined: Fri Sep 05, 2008 3:34 pm
Location: Victoria, BC
Contact:

ban certain browers

Post by Vegan »

I was wondering how hard would it be to banish some browser from accessing my site portfolio
Hardcore Games™ Legendary is the Only Way to Play™
My site is powered by LAMP
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: ban certain browers

Post by Celauran »

Effectively impossible.
benanamen
Forum Newbie
Posts: 18
Joined: Sun Nov 15, 2015 11:57 am

Re: ban certain browers

Post by benanamen »

What is the REAL problem you are trying to solve?
User avatar
Vegan
Forum Regular
Posts: 574
Joined: Fri Sep 05, 2008 3:34 pm
Location: Victoria, BC
Contact:

Re: ban certain browers

Post by Vegan »

i have noticed some browsers have integrated ad blocking, which hurts ad supported sites
Hardcore Games™ Legendary is the Only Way to Play™
My site is powered by LAMP
vishaljamdagni
Forum Newbie
Posts: 1
Joined: Wed Jan 31, 2018 4:26 am

Re: ban certain browers

Post by vishaljamdagni »

I don't think you can effectively ban a particular browser from accessing your website, because it's just an interface by which you surf the web or do whatever you want on the internet. The things which are in your control are the things which are actually on the web not the interfaces to the web.
You can't tell the host to stop "google chrome" from making a particular query, because in general it doesn't know what do you mean by "google chrome" in that particular sense.

Just a beginner myself so, pardon me if I got it wrong.
Cheers.
Post Reply