druss
03-23-2003, 01:30 AM
What i want to do is able to read a html file from a given url and then read and print it.
so far ive got this:
----------------------------------------------------------------
print "Content-type: text/html\n\n";
open(code,"http://www.yahoo.com/index.html");
@code = <code>;
close(code);
print "@code";
exit;
-----------------------------------------------------------------
Just a blank screen shows up??
Thanks
Goran
so far ive got this:
----------------------------------------------------------------
print "Content-type: text/html\n\n";
open(code,"http://www.yahoo.com/index.html");
@code = <code>;
close(code);
print "@code";
exit;
-----------------------------------------------------------------
Just a blank screen shows up??
Thanks
Goran