Re: [PHP-WIN] include statement

2004-10-29 Thread Jason Barnett
Just one thing to add here: My query is: If i load the header as .HTM does it put the included file through the PHP parser. I have the includes as .PHP at present. There is nothing php in the header or footer as yet. I am looking at saving the server some cycles by doing this. Not sure exactly how

Re: [PHP-WIN] include statement

2004-10-29 Thread Paul Menard
So just so I'm clear on your files... Let's say you have a file, index.php. This file has an include statement for 'header.htm'. Your question is does it matter if the header.htm is just HTML and does not contain and PHP? No it does not matter. But the URL must be pointed to the index.php PHP

[PHP-WIN] include statement

2004-10-29 Thread Michael Adams
A real PHP newbie here. I have so far only used the include statement in my site. Each page on the server loads a common header and footer. The header contains the site menu and the footer contains a line of logos in one graphic that . My query is: If i load the header as .HTM does it put the inc