cURL / Mailing Lists / curl-users / Single Mail

curl-users

using curl for web application

From: sss <rosyid_at_solusinet.com>
Date: Sat, 23 Nov 2002 20:22:43 +0700

I'm new comer in curl
i have this perl script

#! usr/bin/perl
$sysstring = "curl -s https://www.e-gold.com;
undef $_;
open(foo, "$sysstring|");
while(<foo>)
{
 print $1;
}
close foo;

I have run this script succesfully using telnet with :

bash-2.05$ perl testcurl.pl

but why when i try to run same script from web browser didn't succes.
like =
http://www.mysite.com/cgi-bin/testcurl.pl

and when i made change to open http then succesfully run...
$sysstring = "curl -s http://www.yahoo.com;

anyone can help me...

Damha Dysor

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-11-23