View Full Version : Server Side Includes?
npaleech
10-12-2007, 08:43 PM
I'm just wondering if SSI is enabled or not. I'm making a site for someone, and SSI would make it a lot easier, but I could see the reasoning for it being disabled. So before I get started, I figured I'd ask if it's enabled.
UnlimitedMB
10-13-2007, 12:30 AM
Its not enabled.
Just use php includes, its the same thing.
npaleech
10-13-2007, 02:09 AM
Doesn't that strictly work for php files though? The person I'm making the site for doesn't know php. I was going to use SSI to pretty much mimic php includes function for my a header and footer, yet do it in a manner that the guy I'm making the site for will still understand. Just using php isn't a viable option in this case.
Unless you meant that php includes can, in fact, load a text file in the manner that SSI does.
UnlimitedMB
10-13-2007, 03:01 AM
Name all your files .php but can be written in normal html then for includes use
<?php include("file.html"); ?>
If your the one making the site what difference does it mean if he understands it, your the one doing it. does he even know html or SSI?
npaleech
10-13-2007, 03:47 AM
I'm making the site, after it's done it will be up to him to maintain it. Giving someone a site they don't understand defeats the purpose of making them one in the first place in my opinion.
I'll use this method instead though. I forgot that you can have normal HTML in a .php file. That should still be easy enough for him to understand.
Thanks for the tip, I'll just scrap using SSI from now on.
Well if you're making the site for the person then that kind of shows the person doesn't know how to do it himself though...
backdoor
10-15-2007, 10:50 PM
It could also mean he is lazy like I was and just decided someone else should do it instead.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.