Closed Thread
Results 1 to 2 of 2

Thread: SSI : How to include a file?

  1. #1
    Member matdin97 is an unknown quantity at this point
    Join Date
    Jan 2001
    Location
    Malaysia
    Posts
    39

    Question

    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..

  2. #2
    NLC Nick is a splendid one to beholdNick is a splendid one to beholdNick is a splendid one to beholdNick is a splendid one to beholdNick is a splendid one to beholdNick is a splendid one to beholdNick is a splendid one to beholdNick is a splendid one to behold Nick's Avatar
    Join Date
    Oct 2000
    Location
    United States
    Posts
    3,493
    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 .
    Nick

Closed Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts