Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 18 Nov 2001, 20:52
Vinney Vinney is offline
 
Join Date: Nov 2001
SSI In template ??

Hi how do i SSi in a template.

Reason being is that i have created a gallery, ( index.pl ) , and i want to use the layout of the forum to.

I've created a php called gallery.php

with :

<?php
error_reporting(7);

// ############################### start gallery ###############################
if ($action=="gallery") {
$templatesused = ""; // Only one template used so load it when called
include("./global.php");
$page = intval($page);
if (!$page)
$page = '';
eval("dooutput(\"".gettemplate("gallery")."\");");

}

?>


And have created the template called gallery.

when i insert :-

include("http://www.peugeot-gti.net/gallery/index.pl");

in the gallery.php , the gallery is loaded, but then under neith the forum buttons and logo load.


No matter where i put the line

include("http://www.peugeot-gti.net/gallery/index.pl");

in the gallery.php

it never displays in the center of the header and footer.


( I now understand this is right, u can't get it to display center using the gallery.php to call it. )


So this brings me onto the gallery template .

how do i ssi or the equivlent to :
include("http://www.peugeot-gti.net/gallery/index.pl");

in a vb template.

Please help.
Reply With Quote
  #2  
Old 20 Nov 2001, 00:43
Goldfinger's Avatar
Goldfinger Goldfinger is offline
 
Join Date: Oct 2001
try using the full path to the index.pl , for example

include('/your/full/path/index.pl');
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 03:38.

Layout Options | Width: Wide Color: