[PHP] PDA / Normal Browser

2004-06-08 Thread Shaun
Hi,

Is it possible to use PHP to detect the type of browser accessing my site.
For example if a PDA is using it I would prefer not to include large
graphics...

Many thanks for your help

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PDA / Normal Browser

2004-06-08 Thread Matt Matijevich
[snip]
Is it possible to use PHP to detect the type of browser accessing my
site.
For example if a PDA is using it I would prefer not to include large
graphics...
[/snip]

you can check the user-agent, no gaurantees what if anything that is
sent is accurate.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] PDA / Normal Browser

2004-06-08 Thread Daniel Clark
$_SERVER['HTTP_USER_AGENT'];

 [snip]
 Is it possible to use PHP to detect the type of browser accessing my
 site.
 For example if a PDA is using it I would prefer not to include large
 graphics...
 [/snip]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php