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

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

 



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?

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