Re: include statement

From: Date: Fri, 29 Oct 2004 19:50:03 +0000
Subject: Re: include statement
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-24845@lists.php.net to get a copy of this message
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 you have your page structure, but the command include_once() will force PHP to only load a page once per request. Any file which is include'd will pass through the PHP interpreter. If this is really a large concern you can get software that will cache the PHP bytecode.

« previous php.windows (#24845) next »