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

From: Date: Thu, 07 Dec 2000 09:20:26 +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-29077@lists.php.net to get a copy of this message
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.

« previous php.general (#29077) next »