[PHP] Problem with Include function using Apache 2.0 and PHP 5 on W2K3 Server

2005-02-16 Thread Dave Adler
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

Re: [PHP] Problem with Include function using Apache 2.0 and PHP 5 on W2K3 Server

2005-02-16 Thread Richard Lynch
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

Re: [PHP] Problem with Include function using Apache 2.0 and PHP 5 on W2K3 Server

2005-02-16 Thread Dave Adler
Richard, Thanks for the feedback. The reference to the file location was the problem. My include statement was include(/includes/menu.inc); I changed it to include ($_SERVER[DOCUMENT_ROOT]./includes/menu.inc); This solved the problem. David Richard Lynch [EMAIL PROTECTED] wrote in