Newbie needs help to start up

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jessicatran
Forum Newbie
Posts: 2
Joined: Thu May 22, 2003 8:58 am

Newbie needs help to start up

Post by jessicatran »

Hi, I'm a totally newbie to PHP, I follow installation steps from "Sams Teach Yourself PHP, MySQL, and Apache" and I got stuck at the very first php test: (:cry: )
When I try to run the phpinfo.php file:

<?php phpinfo(); ?>

on web browser:
http://localhost/phpinfo.php
it returns the page error:
"The page cannot be found..."

although http://localhost/ shows Apache installation success and I did put the .php file in htdocs dir.
What should I do? Any help or guide to previous posts that have similar issue is most appreciated. I'm exhausted searching the right one. Thanks alot.
jessicatran
Forum Newbie
Posts: 2
Joined: Thu May 22, 2003 8:58 am

Post by jessicatran »

Oh never mind. When I copy one .php file from the examples folder, it shows the result. :) .
So my problem is I don't know how to save a file as a .php file even though I try to make its tag contain .php.
How can I have an option to make a file as a .php file? Is there any php editor?
Thanks for any help.
User avatar
Eugene
Forum Newbie
Posts: 24
Joined: Tue Jun 18, 2002 12:40 pm
Location: Montreal

Post by Eugene »

Under win you could use phpEdit at http://www.phpedit.net

dont know about linux
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

There's lots of PHP editors:
viewtopic.php?t=6288

Mac
Post Reply