Click to See Complete Forum and Search --> : Help with page layout (frames? no frames? ssi?)
FlyByProgrammer
08-11-2003, 08:17 AM
Hi. I'm lazy. I'm developing a web page and I want to make it as efficient as possible both on my side and the user's side. Originally I was going to use frames, but a bunch of people yelled at me because frames cause so many "problems." How can I utilize the efficiency of frames and not lose anything? Or have the times changed and the complications of frames no longer exist? I need some advice from people who are more experienced. Thanks
I personally am not a big fan of frames, so when I want to include content on each page, I use a PHP include. It's nice to include menus, etc, as that way, when you change them, the chage takes place globally, when you upload the upadated included file. A PHP include looks something like this:
requires a .php extention
<?PHP
include ("file.htm");
?>
spufi
08-11-2003, 11:23 AM
If I read your post correctly, I think you are going to want to use SSI, or some other server side script like PHP, or ASP. It depends on what your web host allows. The server side code lets you create content on the server side(obviously) that can be changed once and then added to a number of pages much like frames but it ends up being a cleaner, IMHO.