Thanks every body for helping me ! :)

Le Phuoc Canh
 
Arrive Techologies
Cell Phone     : 0902147449
Home Phone  : (08)9915349
Email            : [EMAIL PROTECTED]

-----Original Message-----
From: clive [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 08, 2007 1:56 PM
To: Le Phuoc Canh
Cc: php-general@lists.php.net
Subject: Re: [PHP] How to know a requets from web page or client.

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.}

Reply via email to