Re: How to know a requets from web page or client.
| From: | Richard Lynch | Date: | Tue, 08 May 2007 18:36:22 +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-254577@lists.php.net to get a copy of this message | ||
On Mon, May 7, 2007 10:20 pm, Le Phuoc Canh wrote:
> Dear all,
> How can we know a request from web page( ex : firefox, IE..) or from
> client(
> ex : window media, winamp, ...). Please help me !
You can't know for sure for sure, because it can always be forged.
$_SERZVER['USER_AGENT'], I think.
var_dump($_SERVER);
and surf to it to see.
If you *need* to know, you are in deep trouble, because you can't,
because that's not how the Internet works...
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?