Reply to Re: [PHP] client information

Your name:

Reply:


Posted by Richard Lynch on 10/04/37 11:05

Bruno Santos wrote:
> I have a problem that i hope to solve with php. i know that, using
> $_SERVER['xxx'] is possible to find some information about the client
> who is accessing the script.

PHP passes on *everything* the server passes on which is usually
*everything* the browser provides.

There is no "more" information hidden somewhere from you.

> what i need to know if its possible to find out more information about
> the client, like in linux the DISPLAY variable of the client ?

It's incredibly unlikely that Linux browsers provide this info to the web
server, so it's not going to be available to PHP.

> if i make a system call, i get the server information and thats not what
> i want ?
> if not with php, is possible to do it with javascript ?

JavaScript *might* let you read "Environment" variables, though I doubt it.

Google for "JavaScript and Environment Variables" and you should find it
if it's possible.

Perhaps if you explained why you want the DISPLAY variable we could
suggest some work-arounds...

I can't imagine what that would be, mind you, but...

--
Like Music?
http://l-i-e.com/artists.htm

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация