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

2007-05-08 Thread Richard Lynch
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.

RE: [PHP] How to know a requets from web page or client.

2007-05-08 Thread Le Phuoc Canh
-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 c

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

2007-05-07 Thread clive
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

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

2007-05-07 Thread Jim Lucas
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 ! Thanks & Best Regard. Le Phuoc Canh Arrive Techologies Cell Phone : 0902147449 Home Phone : (08)9915349 Email: [EMA

[PHP] How to know a requets from web page or client.

2007-05-07 Thread Le Phuoc Canh
Dear all, How can we know a request from web page( ex : firefox, IE..) or from client( ex : window media, winamp, ...). Please help me ! Thanks & Best Regard. Le Phuoc Canh Arrive Techologies Cell Phone : 0902147449 Home Phone : (08)9915349 Email: [EMAIL PROTECTED]