RE: [PHP] [Newbie Guide] For the benefit of new members

This is a discussion on RE: [PHP] [Newbie Guide] For the benefit of new members within the PHP General forums, part of the PHP Programming Forums category; Ma Siva Kumar <mailto:tech@leatherlink.net> on Tuesday, December 09, 2003 4:00 PM said: > 4. ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-10-2003
Chris W. Parker
 
Posts: n/a
Default RE: [PHP] [Newbie Guide] For the benefit of new members

Ma Siva Kumar <mailto:tech@leatherlink.net>
on Tuesday, December 09, 2003 4:00 PM said:

> 4. Just put the following code into a file with a
> .php extension and access it through your
> webserver:
>
> <?php
> phpinfo();
>>

>
> This will display tons of info if php is enabled,
> or, it will ask you to download a file if php is
> NOT enabled. (contributed by Teren)


I think this point could do with having it's wording changed. My
suggestion:

Not sure if PHP is working or you want find out what extensions are
available to you?

Just put the following code into a file with a .php extension and access
it through your webserver:

<?php
phpinfo();
?>

If PHP is installed you will see a page with a lot of information on it.
If PHP is not installed (or not working correctly) your browser will try
to download the file.

> 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 the
> users' computer related information (OS, screen
> size etc) using PHP. You need to go for
> JavaScript and ask the question in a JavaScript
> list.
>
> (You can access information SENT by the user's
> browser while requesting pages from your server.
> You can get the details about browser, OS etc as
> reported by this request. - contributed by Wouter
> van Vliet)


May I proppose the following rewording for the second paragraph:

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




Chris.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:27 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0