Way off topic...

2001-07-31 Thread Ryan Davis/Pamela Karr
I figure someone here might know, and I've been wondering for years. Where did 'foo' and 'bar' come from? Thanks, Ryan

Using modules

2001-07-31 Thread Ryan Davis/Pamela Karr
How can I change my @INC variable? Can I just: @INC = (@INC, "/home/me/libs/"); It seems like I would need to change it before my perl program starts... Also, if I put a .pm file in one of the @INC dirs, will I be able to: use module; even if it is not in the main system perl libs? Thanks, R

solution to mail taint problems

2001-07-30 Thread Ryan Davis/Pamela Karr
For those of you trying to get your CGI's to send mail AND use -T, here's the solution I found, and for those of you who know what they're doing, please let me know if I have any gaping security holes here. First, create a small shell script that looks like this: #!/usr/bin/sh /usr/bin/mail

Re: Still having problems sending mail...

2001-07-26 Thread Ryan Davis/Pamela Karr
iptop <[EMAIL PROTECTED]> To: Ryan Davis/Pamela Karr <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, July 26, 2001 11:16 AM Subject: Re: Still having problems sending mail... > Ryan Davis/Pamela Karr wrote: > > > > I'm still trying to get my scrip

Still having problems sending mail...

2001-07-26 Thread Ryan Davis/Pamela Karr
I'm still trying to get my script to send some a simple email. I looked up some examples, namely : http://perlfect.com/articles/sendmail.shtml, but it still doesn't work. I'm using the -T switch, and heres the code fragment: First, I define my variables: #variables for sending mail my $sendmai

e-mailing HTML form results (probably repeat question)

2001-07-25 Thread Ryan Davis/Pamela Karr
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