Reply to Re: Having a problem with connection

Your name:

Reply:


Posted by Tom on 04/11/07 17:55

On Tue, 10 Apr 2007 10:56:53 -0500, DrNoose wrote...
>
>Steve wrote:
>> your web server, iis, is not configured properly. you are using php on
>> windows as a cgi application. you need to have iis peon off anything ending
>> in .php to the php executable.
>>
>> don't know how to do that? rtfm.
>>
>> ;^)
>>
>>
>> "DrNoose" <drnoose@Idontthinkso.com> wrote in message
>> news:461bacd2$0$5613$4c368faf@roadrunner.com...
>> | 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.
>>
>>
>I guess I am the iis peon! LOL
>
>I used the teachers instructions and the book to set them both up! Not
>sure what else to do.
>
>Thanks!

Weather you're running IIS on Windows or Apache on a Unix/Linux system there's
usually software packages available that let you setup a PHP and MySQL
configuration on your system. I mention MySQL since that option has to be built
into the PHP installation and may want to take care of that now instead of
trying to sort that out later.

Tom
--
Newsguy.com - Basic Accounts $39.95 / 12 months

[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

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