Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to Detect Browser Agent Using PHP Script
#1
Hello guys..

Today I am going to post a article, that will help you to detect your visitors browser agent easily. You can use this code for storing visitors browser agents to database and assume from which browser you getting more visitors.

You can use this script for showing your visitors about their browser detail.

The code was here :

PHP Code:
$brws explode("/",$_SERVER['HTTP_USER_AGENT']);
$ubr $brws[0];
echo 
"$ubr"

$brws code will collect the user browser agent information.

echo $ubr will print the details.

I hope this tutorial helped you. If you like the script comment on this thread.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)