[San-Diego-pm] ssi problem

Joel Fentin joel at fentin.com
Sat Oct 9 00:02:16 CDT 2004


If I put the address of a file in the browser that has a line like this:

<!--#include virtual="/top.html" -->

It displays what is in the main file as well as what is in top.html.
=============================
But if I have perl code that looks like this:

   print "Content-type: text/html\n\n";
   foreach(@Buf)                                 #all lines in file
   {
     print $_;                                   #display a line
   }

<!--#include virtual="/top.html" --> Shows up in the "view source" but 
the contents of top.html do not.

Any cure?
-- 
Joel Fentin    tel: 760-749-8863    FAX: 760-749-8864
Contact me:    http://fentin.com/me/ContactMe.html
Biz:           http://fentin.com
Personal:      http://fentin.com/me/


More information about the San-Diego-pm mailing list