Re: .inc or .anything - better or worse ?

From: Date: Thu, 07 Dec 2000 17:31:23 +0000
Subject: Re: .inc or .anything - better or worse ?
References: 1 2 3 4 5 6 7 8  Groups: php.general 
Request: Send a blank email to php-general+get-29079@lists.php.net to get a copy of this message
Mark Rogers writes: > Kyle Jerviss wrote: > > The only problem is the extra processing time taken on each .html file. > > Personally my home machine, which is under basically no load to begin > > with, will process .html, .htm, .php, .php3 and .phtml files. On a busy > > commercial server, you may need to check and see if the extra load in > > processing every file is worth it. > > In this case each file does need processing, so I guess its a necessary > evil. > > What is the best way (if there is one) of telling PHP there is no more > processing to perform in a file - ie that the rest can just be sent straight > to the output stream? Many of the files in question have a call to some PHP > functions at the top of the file then contain straight HTML thereafter. > > At the moment I just don't have any further <?php .. ?> tags, but PHP will > still be looking for them. > -- > Mark Rogers > Remove the .news to reply by mail. That's what happens. When ?> is hit, PHP just shoots the text through. -- +----------------------------------------------------------------+ |Torben Wilson <torben@php.net> Netmill iTech| |http://www.coastnet.com/~torben http://www.netmill.fi| |Ph: 1 250 383-9735 torben@netmill.fi| +----------------------------------------------------------------+

« previous php.general (#29079) next »