Log in

View Full Version : includes in vb


Xelation
06-04-2002, 09:55 PM
ok, I have this one php script for a store with cafepress and I need to include this in a vb template

<? include("http://www.xelation.com/store.php"); ?>

anyone know how I would do it? cause right now its not showing up on my forum at all.

scsa20
06-05-2002, 03:28 AM
I think you can just put in the following into the phpinclude template:


include("http://www.xelation.com/store.php");

RDX1
06-05-2002, 03:34 AM
how do you call it?

Admin
06-05-2002, 06:05 AM
phpinclude:
ob_start();
require('http://www.xelation.com/store.php');
$store = ob_get_contents();
ob_end_clean();
Then use $store in any of your templates.

scsa20
06-05-2002, 06:42 AM
FireFly to the rescue :D

Xelation
06-05-2002, 07:33 PM
thanks! :)

Chris M
06-05-2002, 07:37 PM
Cool...

Satan