PDA

View Full Version : Help with SSI in my Style?


snyx
06 Feb 2001, 22:27
Okay, I use SSI to incorperate my menu into my site. And I have built it around my forum, but the menu does not show up, it wont call in the SSI into the vB script? The code Im using works on my SHTML pages fine, but not in the .php files, is there any way to fix this? Here is the code im using:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Thanks,
snyx

07 Feb 2001, 01:57
PHP is not parsed for SSI. You have to use the PHP functions.

07 Feb 2001, 05:11
So how could I call it in then?

07 Feb 2001, 08:19
you could try


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



but you have to have the direct paht to the menu.pl you could probably find a php script that does the same thing as menu.pl if that php include doesnt work.

07 Feb 2001, 08:43
I found a SWEET script, for what I need. Saves a whole step too, just <script src="includer.cgi?../file.txt"></script> it points to a 2kb cgi script, and works like a charm!