Ssi Or Php

Status
Not open for further replies.

vanc

Beta member
Messages
3
As a newbie to both these challenges, would there be any great advantage in choosing one or the other?

At the moment I would just want to 'include' certain sections of my pages (menus, footers etc), but in the future who knows??

Are they just as easy/difficult to learn and code?"
 
Can you elaborate on your question a bit more? SSI is part of PHP and you are asking if SSI is easier/harder to learn than php...

PHP is a great server scripting language to learn. It is very easy and it is worth the learning. I'm learing it at the moment.
 
I guess he's on about SSI as a standalone feature, one that, back when I used it, was hardly supported by web servers.

The difference is:

SSI
Extension: .shtml
Code:

PHP
Extension: .php
Code: <?php include("menu.php"-->

As far as I know, you can include any file with the PHP code, whereas with SSI you can only include .shtml, .cgi or similar files.

See what your server supports; I would go with PHP for the efficiency.
 
Status
Not open for further replies.
Back
Top Bottom