You are here: Re: [PHP] Problem with Include function using Apache 2.0 and PHP 5 on W2K3 Server « PHP « IT news, forums, messages
Re: [PHP] Problem with Include function using Apache 2.0 and PHP 5 on W2K3 Server

Posted by Richard Lynch on 10/05/43 11:08

Dave Adler wrote:
> I am new to PHP and Apache. I am trying to use the include function to
> include a file that has my web page header and menu, similar to what I
> used
> to do with SSI.
>
> The content of the include file doesn't display. Instead, I get a link
> that
> says function.main and below that I get a link that says function.include
>
> I can run other PHP code with no problem. The include files are in a
> folder
> below the doc root called Includes.
>
> This is running on Windows 2003 Server. I did a default install of Apache
> 2.0 and PHP 5.
>
> This is probably a settig in httpd.conf or php.ini but I can't seem to
> find
> it in the docs.

Hunh?

Give us a link to your page, or use "View Source" on the browser and post
the HTML you got for the include parts.

There's NO WAY you could have literally managed to break PHP's include
statement -- So you've got to be doing something else wrong.

Perhaps your include_path setting is not what you want?

--
Like Music?
http://l-i-e.com/artists.htm

 

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

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