Results 1 to 10 of 10

Thread: Formmail CGI Script/Unauthorised ...Help Needed

  1. #1
    Join Date
    Jun 2007
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Formmail CGI Script/Unauthorised ...Help Needed

    Hi everyone,

    I've seen ppl are really helpful around here, so I registered.

    I am creating a formmail for my website and so far so good , but the problem is that I do not have the script needed to execute the form and I've been unable to download it from the sites, whenever I try to download it the Html page is saved instead of the CGI file , there are many available on other websites like these:

    http://lrdesign.com/scgi-bin/formmail.cgi

    http://www.sasktel.com/forms/cgi-bin/SKFormMail.cgi

    http://209.204.245.87/cgi-bin/chart.cgi

    http://66.70.228.78/cgi-bin/verity.cgi

    These are Matt Wright's free formmail script Version 1.6. Although I can link to any of these sites, however, I prefer to have one on my database to avoid any future problems.

    Is there any way I can download it . Thanks

    Another thing I would like to know is I've seen some websites having protected directories, and when you try accessing them it gives an error saying "You are unauthorised to view this page". I would like to protect my folders in a similar method.

    How is this done?

    Thanks again.

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    For the first question, here is the formmail script.

    http://www.scriptarchive.com/download.cgi?s=formmail

    As for the second question, search for htaccess either in these forums or your favorite search engine.

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  3. #3
    Join Date
    Mar 2006
    Location
    Cleveland, Ohio
    Posts
    574
    Thanks
    6
    Thanked 5 Times in 5 Posts

    Default

    Here's how to download the script:

    http://www.scriptarchive.com/download.cgi?s=formmail

    And about your protected directories, go with PHP and sessions and/or mysql.
    Thou com'st in such a questionable shape
    Hamlet, Act 1, Scene 4

  4. #4
    Join Date
    Mar 2006
    Location
    Cleveland, Ohio
    Posts
    574
    Thanks
    6
    Thanked 5 Times in 5 Posts

    Default

    Sorry Testing, ha, cross-posting. We went to the same direction...
    Thou com'st in such a questionable shape
    Hamlet, Act 1, Scene 4

  5. #5
    Join Date
    Jun 2007
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default :(

    Hi,

    Thanks for the swift response. I have used the scriptarchive website to find it, but I can't seem to find it there. Its the version 1.6 I am looking for and I've been unsuccessful so far in finding it.

    The simple solution is to download it off a website but how is it done.

  6. #6
    Join Date
    Mar 2006
    Location
    Cleveland, Ohio
    Posts
    574
    Thanks
    6
    Thanked 5 Times in 5 Posts

    Default

    You can't simply download a server-side language's script straight off of a website...one of the great things about server-side is that it's unviewable to the user.
    Thou com'st in such a questionable shape
    Hamlet, Act 1, Scene 4

  7. #7
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Taken off their website:

    Any users who have versions of FormMail prior to v1.91, including the popular version 1.6, should upgrade immediately. v1.91 plugs several more spam-related security holes. The following fixes have also been implemented since v1.6: prevents unwanted access to environment variables and problem of receiving e-mail while using the redirect option. The script has two extra arrays (new in v1.7) you must define, but will not affect current forms or the way they appear after having been submitted.
    So; as said above, you should upgrade to the version that we linked to. As for downloading version 1.6 off a website, you could ask the website owners of those sites you listed in your first post. Other than that, no clue.

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  8. #8
    Join Date
    Jun 2007
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Okay so I've decided to use their newer version.

    Now I've directed my link to this CGI file on my folder, I haven't uploaded it yet and when I click on it, the file comes up as downloadable instead of executing the form. Does it need to be uploaded to be used properly?

  9. #9
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Yes; it is a server side language, which means it needs to be on a server in order to run. Once you upload to your server, it should work fine.

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  10. #10
    Join Date
    Jun 2007
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks Guys you've been very helpful. I'm enjoying my stay here already

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
  •