In message <[EMAIL PROTECTED]>, fiberstation <[EMAIL PROTECTED]> writes >hi I am a beginner so forgive if this is a stupid question. I was >setting up a php page. the sample worked until I opened the php file >in notepad. now all php files opened in my browsers display only the >code. can anyone tell me how to correct this. >thank you, m.r.
Someone gave you an answer which said that you need to check the folder settings, but this only applies if you are viewing the files in Windows - mine, for example, says "open with HTML-Kit", the editor that I use. However, You say that you are opening the files in a browser, so that should not apply. If you are viewing with your browser, are typing http://localhost into your URL address? If not, what are you typing into your browser? It won't work if you type a file name, like C:\myfiles\index.php - this will change (in my browser) to file:///C:/myfiles/index.php and show the source code. -- Pete Clark Sunny Andalucia http://www.hotcosta.com/comm_1.htm
