You are here: Re: Newbie question follow up « PHP Programming Language « IT news, forums, messages
Re: Newbie question follow up

Posted by Tony Wainwright on 02/14/06 01:35

It is
"Siv Hansen" <sivh@broadpark.no> wrote in message
news:43f11112$1@news.broadpark.no...
> Tony Wainwright wrote:
>> I have been told that to get php to parse a page with a .html extension I
>> need to include a line in my httpd.conf file the following line:
>>
>> AddType application/x-httpd-php .php .phtml .html
>>
>> which I have done. I have also been told I need to include mod_php in
>> the same. I am running PHP 5.0.2, Apache 2.0.52, MySQL 4.0.21, and
>> Windows XP SP2. I cannot find mod_php on my system and don't know how to
>> include it in my http.conf.
>>
>> I am trying to use the following in a html page
>> <html>
>> <a href="index.php">Home</a>
>> </html>
>> Every time I try I am asked if I want to download the file.
>
> Is the index.php placed under Apache's document_root?
> If it isn't put it there and try again.
>
>>
>> Can anyone help
>> Thanks
>> Tony

 

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

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