SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: Perl question

Threaded View

  1. #1
    SitePoint Zealot
    Join Date
    Jun 2007
    Location
    Ryde, Isle of Wight, UK
    Posts
    116
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Perl question

    I'm using a MailForm.Pl in my cgi-bin linked to some online forms that I have set up for a new website and have received this when I tried to test if a form would send:-

    Bad Referrer - Access Denied

    The form attempting to use this script resides at http://www.novalifestyles.eu/show.php?contentid=80, which is not allowed to access this program.

    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.novalifestyles.eu' to your @referers array.

    I am not sure if I need to change the @referers from this
    Code Perl:
    use strict;
    use vars qw(
      $DEBUGGING $emulate_matts_code $secure %more_config
      $allow_empty_ref $max_recipients $mailprog @referers
      @allow_mail_to @recipients %recipient_alias
      @valid_ENV $date_fmt $style $send_confirmation_mail
      $confirmation_text $locale $charset $no_content
      $double_spacing $wrap_text $wrap_style $postmaster
      $address_style
    );


    To this:-

    Code Perl:
    use strict;
    use vars qw(
      $DEBUGGING $emulate_matts_code $secure %more_config
      $allow_empty_ref $max_recipients $mailprog @www.novalifestyles.eu
      @allow_mail_to @recipients %recipient_alias
      @valid_ENV $date_fmt $style $send_confirmation_mail
      $confirmation_text $locale $charset $no_content
      $double_spacing $wrap_text $wrap_style $postmaster
      $address_style
    );

    Or is the problem due to the fact that I have the website set under a protected directory whilst it is being set up.

    The site is run using a database driven system written in PHP (I'm using QnECMS)

    I have attached the perl file as a .doc.
    If some one can point me in the correct direction I'd be very pleased.
    Attached Files Attached Files


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •