Re: CGI - Email Forms

2005-12-07 Thread Bill Stephenson
On Dec 6, 2005, at 1:43 PM, [EMAIL PROTECTED] wrote: What tests must be in place in order to keep your perl scripts from being hijacked from spammers? Any help would be greatly appreciated. For forms that send email, you don't want to let the user enter a To, CC, or BCC address. This should

Hi, strange problem on calculation

2005-12-07 Thread webmaster
Hi, I don't know why the result of my calculation doesn't make sense! foreach('0.43','-0.12','-0.08','-0.17','-0.06') { $value = $value + ($_); } print $value . br; Value = -2.77555756156289e-17 Should be 0.00 My Perl Version is: perl -V Summary of my perl5 (revision 5 version 8

Re: Hi, strange problem on calculation

2005-12-07 Thread Owen Cook
On Wed, 7 Dec 2005 [EMAIL PROTECTED] wrote: Hi, I don't know why the result of my calculation doesn't make sense! foreach('0.43','-0.12','-0.08','-0.17','-0.06') { $value = $value + ($_); } print $value . br; Value = -2.77555756156289e-17 Should be 0.00 What is the

Re: CGI - Email Forms

2005-12-07 Thread David Dorward
On Tue, Dec 06, 2005 at 02:37:18PM -0600, Bill Stephenson wrote: What tests must be in place in order to keep your perl scripts from being hijacked from spammers? Any help would be greatly appreciated. For forms that send email, you don't want to let the user enter a To, CC, or BCC