Reply to Having a problem with connection

Your name:

Reply:


Posted by DrNoose on 04/10/07 15:27

Hi!

Here is the code for a php file:

<html>
<head>
<title>Hello World Message</title>
</head>
<body>
<?php echo "<p><em>Hello World from the Web Server</em></p>";?>
</body>
</html>

I've saved it as HelloWorldMessage.php

I copied it to inetpub/wwwroot

Then I go to the browser and type:
http://localhost/HelloWorldMessage.php and then return.

It then asks me how I want to open the file - notepad or other. If I
choose other - then choose Mozilla it will open in the browser as:

Hello World from the Web Server

",?>

What am I doing wrong? We did a similar program in class the other day
and it came up fine.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация