Jump to content


This topic is now archived and is closed to further replies.


Is PHP worth it in this case?

Recommended Posts


I have made a 20 page website that displays my companies online portfolio. It really is just a brochureware site. I have used php include files to include the header and other stuff in a php template system to generate my site layout.

My question is, would i be better off running my site with php then clicking view source then copy and paste the generated html into html files and just host the html files rather than the php template script? Or is the call to include() so fast that i would hardly notice the difference and just keep the template system?

Basically, for a small site like this, will the php overhead be worth it or not?

Thanks for any opinions.

Share this post

Link to post
Share on other sites
To include files works very fast and you most probably wont notice any time-improvement at all by running it as html. Nobody will ever know!

But, why move it away from PHP ? If you are to change any layout in the future, you now can do that much easier and faster than changing 20 html pages separately.

And one other thing - what about all the PHP possibilities and fun !!!  8) 8) 8)

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.