Re: FW: [PHP] [NEWBIE GUIDE] For the benefit of new members

From: Date: Fri, 05 Aug 2005 16:29:50 +0000
Subject: Re: FW: [PHP] [NEWBIE GUIDE] For the benefit of new members
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-220078@lists.php.net to get a copy of this message
Jay Blanchard wrote:
6. PHP is a server side scripting language. Whatever processing PHP does takes place BEFORE the output reaches the client. Therefore, it is not possible to access users' computer related information (OS, screen size etc) using PHP. Nor can you modify any the user side settings. You need to go for JavaScript and ask the question in a JavaScript list. On the other hand, you can access the information that is SENT by the user's browser when a client requests a page from your server. You can find details about browser, OS etc as reported by this request. (contributed by Wouter van Vliet and reworded by Chris W Parker.) You might want to add to this:-
"To see what information PHP can provide look in the manual for $_SERVER." That way you give people a pointer along the way .... Alan

« previous php.general (#220078) next »