I have created a html file by adding various bits of text files. This file has
reference to a style sheet. When I open this file from a cgi script with
following lines

open (FILE, "mainfile.html");
@stuff=<FILE>;

print "Content-type: text/html\n\n";
for ($i = 0; $i <= $#stuff; $i++) {

        print  "$stuff[$i]";

}
close FILE;

I don't get the effect of stylesheet referenced in the html file. But when the
file is opened in a browser I get the effects. I have to open the html file in
the above way as a part of the cgi script which creates the file. Any solution
to get the effects through script?
-- 
L.V.Gandhi
203, Soundaryalahari Apartments, Lawsons Bay colony, Visakhapatnam, 530017
MECON, 5th Floor, RTC Complex, Visakhapatnam AP 530020 INDIA
[EMAIL PROTECTED],  [EMAIL PROTECTED] linux user No.205042


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to