Left Quote    I think there is a world market for maybe five computers.
- Thomas Watson, Chairman of IBM 1943    
Right Quote
[login] | [Register]
Forum Index » General Discussion » Viewing Topic and Replies
Post Reply

        Viewing Topic: A Question from a beginner
  This user is offline  Mushq
  Subject: "A Question from a beginner" Posted: @ 12:32 pm on Dec 09 2007   
Member #: 505
Rank: User - (1)
Since: 12/09/07
Posts: 1

I created a test.php file in my inetpub folder and wrote the following script in that file, but when I access that page by url "http://lo calhost/ p" it prompts me the error "The page cannot be found ", can anyone please guide what am I doing wrong.

<!DOCTYPE HTML PUBLIC "-//W3C//D TD HTML 4.0 Transitional//E N">
<title>My First PHP Page</title& gt;
</head> <body>
<h1>My First PHP Page</h1>

echo '<p>This is my first PHP script.</p&g t;';

</body> </html>

Thanks and Best Regards,

    Viewed: 5,402 Times | Reply to This | To top
  This user is offline  bs0d
  Subject: "re: A Question from a beginner" Posted: @ 5:45 pm on Dec 09 2007    

Member #: 1
Rank: Admin. - (1,508)
Since: 02/06/05
Posts: 602
From: USA

Is your webserver running? Try: http://127.0.0. 1/test.php Also, you have to download and install PHP on your webserver for PHP to work.

-bs0d |

    Viewed: 5,395 Times | Reply to This | To top
Viewing Page: 1 of 1

1 |

You must be logged in to post on the forums. Login or Register

"" Copyright © 2002-2020; All rights lefted, all lefts righted.
Privacy Policy  |  Internet Rank