Sorry if this should be in code hacking or something but I thought this was the best forum.
I need to include an external file in the pages outputted by vBulletin.
I know I can parse for php code in the headers and footers but can't I set it to parse for php code in all the include variables as well as the templates?
I have tried SSI i.e.
<!--#include virtual="/include.html" -->
and PHP
<?php virtual("include.html") ?>
Neither of which parses the text is just passed to my browser in unparsed form.
e.g. I would like to use it to call title.html which when normally called from a browser simply returns the name of an image file (depending on certain environment varaibles), this works file when I use a plain .php file and call it using the php above e.g.
<img src="<?php virtual("title.html") ?>">
I am wanting to put this into the $titleimage variable (as set from the control panel), but it doesn't want to know :( what to do??
Any ideas on how to make it work?
[Edited by Mark Hewitt on 05-22-2000 at 04:45 PM]
I need to include an external file in the pages outputted by vBulletin.
I know I can parse for php code in the headers and footers but can't I set it to parse for php code in all the include variables as well as the templates?
I have tried SSI i.e.
<!--#include virtual="/include.html" -->
and PHP
<?php virtual("include.html") ?>
Neither of which parses the text is just passed to my browser in unparsed form.
e.g. I would like to use it to call title.html which when normally called from a browser simply returns the name of an image file (depending on certain environment varaibles), this works file when I use a plain .php file and call it using the php above e.g.
<img src="<?php virtual("title.html") ?>">
I am wanting to put this into the $titleimage variable (as set from the control panel), but it doesn't want to know :( what to do??
Any ideas on how to make it work?
[Edited by Mark Hewitt on 05-22-2000 at 04:45 PM]
Comment