grabbing html from a separate page with cgi
how would i do this? like i have a page at something.com/page.cgi and i want to include the sourcecode of http://www.geocities.com/keith in the html.
i tried the format:
but that didn't work. i can get it in php, but i need it in cgi, and i'm somewhat cgi dumb. any suggestions?
how would i do this? like i have a page at something.com/page.cgi and i want to include the sourcecode of http://www.geocities.com/keith in the html.
i tried the format:
Code:
print "Content-type: text/html\n\n";
include "http://www.geocities.com/keith";
but that didn't work. i can get it in php, but i need it in cgi, and i'm somewhat cgi dumb. any suggestions?
Last edited: