Insecure $ENV{PATH}

2006-06-08 Thread Lecca Paola
Trying to write the processes input of an hatml form via a cgi script I get this error message: Software error: Insecure $ENV{PATH} while running with -T switch at /usr/local/apache2/cgi-bin/post.cgi line 357. It concerns the following lines of my cgi script ... $ENV{PATH} = "/usr/local

Re: Insecure $ENV{PATH}

2006-06-08 Thread Paul Archer
From 'perldoc -q taint' Found in /usr/lib/perl5/5.8.8/pod/perlfaq7.pod How can I tell if a variable is tainted? You can use the tainted() function of the Scalar::Util module, available from CPAN (or included with Perl since release 5.8.0). See also "Laundering and Detectin

sequence of function in Javascript

2006-06-08 Thread Lecca Paola
Thanks for your help. I solved the problem of the error message "Insecure $ENV{...} ...". Now, another question, In my html form after the insertion of data a cgi perl save them in a file and open a new html page, from which I want to have the possibility to go back to the form html page, bu

getting file from outer network with curl tool occurs errors

2006-06-08 Thread Joodhawk Lin
While I try to get file from a site by CURL tool, it alters me this: Curl: (6) Could not resolve host: http://helloworld.com/; No data record of requested type   I am in an inner network, and I try to get file through gateway (10.89.54.254) by http. Did anybody get it; can you share it