PDA

View Full Version : SSI : How to include a file?



matdin97
January 22nd, 2001, 21:56
Hi...

How to include a file name menu.txt (inside main directory) into xxx.cgi (inside cgi-bin)..

what i'm trying is
<!--#include virtual="/menu.txt" -->
but it not works. in others html file, it's works..

Nick
January 22nd, 2001, 22:21
Set the server to parse cgi and pl files with the htaccess file. Or just use require "filename.ext"; (I think). Someone back me up, I'm not a CGI expert here :p.