[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [SLUG] Perl last hope..



On Mon, 19 Jun 2000, chesty wrote:

> > Think about it. You are *NOT* calling the counter.cgi script
> > from the command-line ... you are inside a CGI shell. Since the
> 
> That makes sense. How about
> 
> $outcount=`/home/httpd/cgi-bin/counter.cgi?domain=www.hexidecimal.com.au&page=signup&visible=true`;

The above is not a valid shell invocation.
How about:

$outcount=`/home/httpd/cgi-bin/counter.cgi "domain=www.hexidecimal.com.au&page=signup&visible=true"`;

But, same problem: CGI.pm will look in REQUEST_METHOD and get its values
according to that. Maybe this would work:

$outcount=`REQUEST_METHOD="" /home/httpd/cgi-bin/counter.cgi "domain=www.hexidecimal.com.au&page=signup&visible=true"`; 

--
Rick Welykochy || Praxis Services


--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to slug-request@nospam.slug.org.au with
unsubscribe in the text