Andre McDowall on Wed, 15 May 2002 09:44:09 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Error message


Hi Hao,

Thank you for responding to my request. I downloaded this script from cgi-resources.com. I'm new to perl so I am somewhat lost. I tried to remove this section of the sript, and it DID allow all users to access the email form, but it continued to send emails without stopping. Any idea of how I can get rid of this section of the script and still have it perform as it should (ie: only send one email). Thanks!


From: Nguon Hao Ching <hao@netaxs.com>
Reply-To: phl@lists.pm.org
To: phl@lists.pm.org
Subject: Re: Error message
Date: Wed, 15 May 2002 09:23:27 -0400

> if (!$ENV{'HTTP_REFERER'}) {

The HTTP_REFERER header is not required, and some browsers
don't pass it to the server.

Dunno what else you could do.  Maybe make all links to the
form as a submit button or image, and check whether the
REQUEST_METHOD is POST.

Why not allow direct access?

-Hao
--
http://spiderboystoybox.net/
**Majordomo list services provided by PANIX <URL:http://www.panix.com>**
**To Unsubscribe, send "unsubscribe phl" to majordomo@lists.pm.org**




_________________________________________________________________
Join the world?s largest e-mail service with MSN Hotmail. http://www.hotmail.com


**Majordomo list services provided by PANIX <URL:http://www.panix.com>**
**To Unsubscribe, send "unsubscribe phl" to majordomo@lists.pm.org**