Page 1 of 1

failled running ma php file on wamp5

Posted: Sun May 31, 2009 7:27 am
by joweria
:banghead: hi, this is joweria interested very much in running php but got stuck in the middle i opened notepad were i wrote ma script (joe.php) and saved it in the directory i created in www directory , when i open my local host and typed the url http://localhost/joe.php (mark this i started all services) it displayed a message that the page can not be displayed and when i try viewing my php file in the www directory its renamed joe.php.txt
i just dont this??
iam desparate can some one help me run this file(what can i do)
thanks for any help provided :crazy:

Re: failled running ma php file on wamp5

Posted: Sun May 31, 2009 1:40 pm
by califdon
joweria wrote::banghead: hi, this is joweria interested very much in running php but got stuck in the middle i opened notepad were i wrote ma script (joe.php) and saved it in the directory i created in www directory , when i open my local host and typed the url http://localhost/joe.php (mark this i started all services) it displayed a message that the page can not be displayed and when i try viewing my php file in the www directory its renamed joe.php.txt
i just dont this??
iam desparate can some one help me run this file(what can i do)
thanks for any help provided :crazy:
Did you use Notepad to save your file? At the bottom of the "save" window there is a box "Save as Type..." and if you have this set to "text files", it will add .txt to whatever you show as the Filename. You must use "All Files..." Your file can only be found by the WAMP server if it is correctly named. Change the name of the file to remove the ".txt" and see if it works.

Re: failled running ma php file on wamp5

Posted: Mon Jun 01, 2009 10:00 am
by joweria
thanks alot mr califdon for your help you realy saved me from ma desparecy, i like u very much :lol: :D this is from joweria