CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
@referer error in FormMail

 



Herring
newbie

Nov 21, 2001, 4:43 AM

Post #1 of 1 (559 views)
@referer error in FormMail Can't Post

Should I be escaping the - in www.ottawa-mysite.com for this to work? If so how do I do that? I tried putting a \ before the - that didn't work. I have read the readme file but see no mention of this.

The error message

The form attempting to use FormMail resides at http//www.ottawa-mysite.com/forms/InformationForm3.htm, which is not allowed to access this cgi script.
If you are attempting to configure FormMail to run with this form, you need to add the following to @referers, explained in detail in the README file.
Add 'www.ottawa' to your @referers array.


The line I have in there right now is like the following

@referers = ('fax.xyz.net','www.ottawa-mysite.com','www.othersite.com')

The problem definitely seems to come from the "-" sign.

Thanks for any response to this, Perl Newbie


 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives