TOTALLY Confused Please help me !

TOTALLY Confused Please help me !

am 21.12.2005 04:35:54 von gjdagis

This is my first day trying to learn PHP and ALREADY I'm stumped. I
bought the SAMS Guide toPHP. MySQL, and Apache Book. On page 18 it
tells me to create a file called phpinfo.php. HOW do I create a PGP
file ? I have Word etc but programs like this create TEXT files etc. ,
DON'T THEY? I created it anyway and did as told. Was this OK ?

The file looks like this
phpinfo();
?>
and was created in WORD saved as phpinfo.pgp

Secondly: On the same page (after creating the above and putting it
into C:/Apache/Apache2/htdocs as told) it says to point the web browser
to http://localhost/phpinfo.php and I should see the PHP information
page. All my browser does is hang up while searching for the page. What
the heck am I doing wrong ALREADY ! Geez this is HORRIBLE. Please help.

Thank you,
George

Re: TOTALLY Confused Please help me !

am 21.12.2005 04:37:10 von Nicholas Sherlock

gjdagis@hvc.rr.com wrote:
> HOW do I create a PGP
> file ? I have Word etc but programs like this create TEXT files etc. ,
> DON'T THEY?

Yes, this is exactly what you want, a text file. Word won't generate
ordinary text files by default, it generates Word documents. You're
better off using Wordpad or Notepad (Both come with Windows) and making
sure that the filetype you save as is plain text.

> and was created in WORD saved as phpinfo.pgp

You keep referring to the extension as .pgp, I hope you realize that it
is .php.


Cheers,
Nicholas Sherlock

Re: TOTALLY Confused Please help me !

am 22.12.2005 06:22:12 von gjdagis

Thank you for your reply; it's appreciated.

George