You are here: Re: Blank PHP pages « All PHP « IT news, forums, messages
Re: Blank PHP pages

Posted by Janwillem Borleffs on 02/16/06 22:20

Eddie wrote:
> it completes but nothing is displayed. I checked the Application
> configuration mappings on the default website and php is listed with a
> path of C:\PHP\php-cgi.exe and ALL verbs. I also added index.php to
> the default content page under the documents tab of my test web
> directory C:\inetpub\wwwroot\test.
>

When you look at the source of the page returned by the browser, you will
probably see your code.

What's missing then, is that you did not associate .php with the PHP
interpreter.

In Apache, you would add the following line to the httpd.conf file to do
this:

AddType application/x-httpd-php .php

Not sure how this is done in IIS, though...


JW

 

Navigation:

[Reply to this 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

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