Emre wrote:
> Hi, just a little advice...I found a way to speed it up a little (or it seems
> so). Instead of using anlgform.pl I wrote a script called analog.pl. All it
> has is:
>
> #!/usr/bin/perl
> print "Content-type: text/html\n\n";
> print '<body bgcolor="ffffff">';
> print `analog`;
No. Don't do that. Please read the anlgform.pl file, the anlgform.html file, and
the documentation on the form interface in the Analog docs. Then read a little
about CGI scripting and security issues (NCSA's CGI tutorial is a good place to
start).
The Analog form interface is provided to cover a lot of potential security holes
that approaches like yours can make happen. You shouldn't put Analog in a CGI
directory because some severs will allow ANY command-line options to be passed
on. Your script will also produce invalid HTML (although your browser may render
it as you expect it too).
--
Jeremy Wadsack
Wadsack-Allen Digital Group
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------