Originally Posted by Mushq
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://localhost/test.php" it prompts me the error "The page cannot be found ", can anyone please guide what am I doing wrong.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>My First PHP Page</title>
</head>
<body>
<h1>My First PHP Page</h1>
<?php
echo '<p>This is my first PHP script.</p>';
?>
</body>
</html>
Thanks and Best Regards,
Mushq