Welcome to WebmasterWorld Guest from 22.214.171.124
Forum Moderators: incrediBILL
ServerSideIncludes are just a way to include a piece of HTML into your page, they won't duplicate iframe functionality in any way.
Also think of using PHP for includes, they are much more powerful, and you don't have to rename your pages with shtm or shtml extensions, which you have to do with SSI.
Actually, no. You'd have to look at the source directly or use FTP (not HTTP). The included content is inserted before the page is served, and so is indistinguishable from the hard-coded content when viewed in a browser.
> you don't have to rename your pages with shtm or shtml extensions, which you have to do with SSI.
Most servers have methods you can use to easily avoid having to rename pages which include SSI. For example Apache server has two easy methods.
PHP is much more powerful, but SSI can be used to implement simple included content quickly and easily.
AddHandler server-parsed .html
The advantage of SSI is that it is simple and fast because it is "built-in" to the server. On the other hand, you certainly would not want to re-code a complex PHP site to SSI, even if you could!
It's all a matter of what you need to do, and how long your schedule is to get it done. On the one hand, PHP is very powerful, and on the other, you have to learn a lot more to use it.
Every tool is good for something, the trick is to figure out which tool is best for the job at hand. And having a toolbox full of various implements is usually good, too! :)
any suggestions guys?
However, if you are doing an ecommerce site, don't use iframes, it's too hard to get all the problems ironed out, unless you don't need the iframe contents spidered. If you do, you'll need to figure out a better way to do it.