![]() |
Ban Browser
Im sessions table in PHPMyAdmin You can view browsers. I wanted to know, How can I can a certain browser from my forums?
Seems small and easy, can anyone help? |
Are you sure?
You can add this to the bottom of your "phpinclude" template: To allow IE only: PHP Code:
PHP Code:
PHP Code:
|
:eek: For shame, using the ereg functions!
Better (according to php.net): PHP Code:
PHP Code:
|
Actually, I didnt wanna "allow IE only" or "allow mozilla only" thats completely irrelevant to what I asked.
What I want is to BAN a user using the browser: Quote:
|
Hi
I am not sure but this is a pseuocode if some one can recheck it will be grateful PHP Code:
for ex : IE = Mozilla/4.0 |
Provided that AGENT_NAME is the full name and not a subsring of it like Mozilla/4.0 then that will work fine.
|
yes
You must Provided the full name of the AGENT for example you cannot just add WebCopier it must be WebCopier v3.5 |
All times are GMT. The time now is 10:54 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|