At 03:26 PM 7/25/01 -0500, you wrote:
>I'm trying to get email myself the results of a form, so I can moderate a
>list, and delete an entry if anyone puts in cuss words...  I'm trying to do
>it with a
>
>system("\(mail [EMAIL PROTECTED] < messages\)\&");
>
>The page loads to this point, then quits.  I put the & in to run the mail
>program in the background, and let perl continue, but it didn't work.  I
>also tried exec() and ' ' to do the call.  The error I get from CGIwrap is:
>
>"Insecure $ENV{PATH} while running with -T switch at /blah/blah.cgi line
>121."
>
>THEN, I tried making the mail command in a shell script, then calling the
>shell script, but got the same result.
>
>Any ideas besides using cron to email myself the file?
>
>Thanks,
>Ryan

I have experienced this problem before.

You should read perldoc perldiag and perldoc perlsec
for advice on how to deal with this.

Basically the taint flag requires that certain elements of the %ENV hash be 
either empty or pre-defined before being used.
Peter Cline
Inet Developer
New York Times Digital


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to