[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] A CGI program that wont do a specific command
- Subject: Re: [cobalt-developers] A CGI program that wont do a specific command
- From: "H.P. Stroebel" <hpstr@xxxxxxxxxxxxx>
- Date: Fri Dec 8 14:28:12 2000
- List-id: Mailing list for developers on Cobalt Networks products <cobalt-developers.list.cobalt.com>
Herb Rubin schrieb:
>
> I have a Perl cgi program that wont do this:
>
> $html = `lynx -source www.yahoo.com`;
why calling an external program ? open a socket, print the http
header(s) to it, in this case a GET request and read the output into an
array or a string.
--
H. P. Stroebel, Germany
CGI-FAQ for Raq-Newbies :
http://users.iol.it/hpstr/
Apollo 13 - Commander : "Houston, we have a problem"
Win2000 - Administrator : "Redmond, we have 64000 problems"