Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 11-17-2006, 05:24 AM   #1 (permalink)
 
Newb Techie

Join Date: Nov 2006

Posts: 3

vanc

Default Ssi Or Php

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?"
vanc is offline  
Old 11-17-2006, 10:28 PM   #2 (permalink)
 
Junior Techie

Join Date: Nov 2006

Posts: 99

sam2698

Default

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.
__________________
globalwarming awareness2007
sam2698 is offline  
Old 11-23-2006, 08:09 PM   #3 (permalink)
 
Super Techie

Join Date: Nov 2006

Posts: 409

Phrantic is on a distinguished road

Default

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.
Phrantic is offline  
Old 11-25-2006, 05:56 AM   #4 (permalink)
 
Newb Techie

Join Date: Nov 2006

Posts: 4

ritesh26

Default

It will be easy and modeler for you to change in future.
You should use <? include_once ''menu.php ;?>
As i am a software professional , if you want something else you can.

http://developer.frih.net/
ritesh26 is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On