PHP or SS includes

Associate
Joined
22 Dec 2004
Posts
1,828
Location
Southampton, UK
I'm looking to use either PHP includeds or Server Side includes

In your opinion whats the best way to go? Is there anything in it?

Pros and cons for using them please
 
If you're just using include directives, SSI will be faster as it doesn't have the overhead of initialising the PHP interpreter for each request (which won't be all that much noticable until you hit 100's of hits per second). Apart from that, there's not much in it. You would want to use readfile() rather than include(), in PHP, im guessing.
 
Back
Top Bottom