Server cant read the php file

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
zerogravity
Forum Newbie
Posts: 3
Joined: Sun Nov 15, 2009 1:57 pm

Server cant read the php file

Post by zerogravity »

hi guys,

Im just a newbie in php, I just wanted to ask why is it that I code some php program using notepad and save it as now.php in the htdocs folder because I am using XAMPP but still it was not save as a php file but instead it is save as a simple now.php file in notepad. pls advice tnx.
anand
Forum Commoner
Posts: 80
Joined: Fri May 22, 2009 11:07 am
Location: India
Contact:

Re: Server cant read the php file

Post by anand »

check 3 things.

1) Is xampp server on?

2) Are you using this link http://127.0.0.1/now.php

3) is the file saved as now.php or now.php.txt?

Hope this helps
zerogravity
Forum Newbie
Posts: 3
Joined: Sun Nov 15, 2009 1:57 pm

Re: Server cant read the php file

Post by zerogravity »

yes xampp server is on and i save is at .php and still it is not working i dont know why pls help
zerogravity
Forum Newbie
Posts: 3
Joined: Sun Nov 15, 2009 1:57 pm

Re: Server cant read the php file

Post by zerogravity »

thanks a lot guys! you two are great, thanks 4 helping me i should have save it in all files not in .txt now I can continue my studies tnx a lot.
Post Reply