Php: Allow Or Block Browsers

free web hosting
Free Web Hosting > Computers & Tech > Programming > Scripting > PHP

Php: Allow Or Block Browsers

intelx86
The scripts I have attached either allow the visitor to enter your site, if his browser is in the allowed list, or block him, if his browser is in the blocked list.

-----------------------------------------------------
Since this is a script, it should go into the scripting forum.. Moved.
m^e

Reply

spacewaste
There are quite a number of people on this forum who do not know PHP so it would maybe be wise to include a help file with that zip.....it is a good code though

If you do chose to make the help file make sure to say that if somebody already has a index file made they should just copy paste what si included inside the index's that come with the zip file to the include section (which is at the top of the php file) of the php file they want to browser protect...

I myself am not that well with php tongue.gif so thats why I suggest the help file...

Still it is a pretty good idea

thnx

Reply

rapco
Why would anyone want to block a browser????

I know a lot of people hate Micro$soft Internet Explorer (myselve included).. but what about the visitors... ????... there a lots of people that doesn't care for browsers, they just want to urf the web.. why make it difficult for them???

Reply

Hercco
QUOTE(rapco @ Feb 20 2005, 06:53 PM)
Why would anyone want to block a browser????

I know a lot of people hate Micro$soft Internet Explorer (myselve included).. but what about the visitors... ????... there a lots of people that doesn't care for browsers, they just want to urf the web.. why make it difficult for them???
*



Well if for some reason the site is designed so that it will just not function with certain browsers. Blocking the incompatible browsers makes sure that the site isn't even attempted to be parsed. Then of course a different version of the site can be loaded.

Reply

rapco
I know what you're saying, cuase it's happening with my site... i actually posted a new topic looking for help...

But making a diferent design per browser it's quite exhausting, don't u think?

There must be a way of designing an all browser compatible site... and a way to verify that...

Reply

intelx86
I created this script because I couldn't bare some sites which needed Internet Explorer. In most cases, if you changed the browser's user agent code, you could see the site without errors.

These scripts where created to promote Internet Explorer. So with this script, I will try to promote Mozilla Firefox.

Reply

rapco
I get your point, i just don't think your users -or anybody elses for that matter- should suffer the conscecuences of Micro$oft lovers, you should promote Firefox from your site..

have u heard of racism????... clasicism???... maybe this is the new "Borwsersicism" of something like taht.. and it neves ends well....

just a comment...

I use firefox...

Reply


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

Recent Queries:-
  1. how to block browser with php - 89.72 hr back. (1)
  2. php block keyword - 170.41 hr back. (1)
Similar Topics

Keywords : php browsers

  1. Detecting XHTML + XML In Browsers - Can it be improved? (1)



Looking for php, block, browsers






*SIMILAR VIDEOS*
Searching Video's for php, block, browsers
advertisement




Php: Allow Or Block Browsers