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

From: Date: Tue, 08 May 2007 06:55:35 +0000
Subject: Re: How to know a requets from web page or client.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-254532@lists.php.net to get a copy of this message
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.}

« previous php.general (#254532) next »