Re: How to know a requets from web page or client.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le Phuoc Canh wrote:

How can we know a request from web page( ex : firefox, IE..) or from client(
ex : window media, winamp, ...). Please help me !

you need to look at the http request header, you can use the $_SERVER['HTTP_USER_AGENT'] variable to access that.

Please note some application may provide a false identity, ie Opera identifying itself as IE.


--
Regards,

Clive.

Real Time Travel Connections


{No electrons were harmed in the creation, transmission or reading of this email. However, many were excited and some may well have enjoyed the experience.}

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux