Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    May 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    just trying to understand something about cgi

    well this is my first post here, and i really don't know all that much about code at all. but I want to learn and I am working on this project so I kinda need some help.

    I have built a "form" for people to fill out on my website. and i want when they click the submit button that it sends the information to me in an email.

    Now, I have made my .txt file and uploaded it to my /cgi-bin folder.
    but I am having problems with my ACTION line of code.

    I keep getting : the requested URL /cgi-bin/SolairgenRegistration.txt was not found on this server.
    Additionally, a 404 Not Found Error was encountered while trying to use an ErrorDocument to handle the request.


    I am positive that my ACTION is not correct. but i don't know what it should be.
    If anyone knows or understands what I'm trying to do here and can offer me advice or a link to where this is explained that would be so much help to me!

    thanks

  • #2
    Super Moderator
    Join Date
    May 2005
    Location
    Southern tip of Silicon Valley
    Posts
    2,871
    Thanks
    2
    Thanked 164 Times in 159 Posts
    Is SolairgenRegistration.txt a Perl script?

    Did you upload it in ascii or binary mode?

    What are the permission settings on that file?

    Can you post the contents of that file and the <form ....> tag?

  • #3
    New to the CF scene
    Join Date
    Jun 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Trying to understand how CGI::App works

    Hi,

    The problem I ran into is that the message body is part of the URL string
    and I don't want that. So then I figured Apache::Session would take
    care of that and in a way it did. The problem is I am creating a new
    session when I go to the next run mode because I am creating a new
    instance of my application. How can I 1) eliminate the CGI
    param(message) body from being shown on the URL or 2) get just one
    session to start? I was going on the thought that since there was a
    setup that automagically it would run that once and I would have one
    session object.

    Any thoughts?

    thanks!
    Last edited by JohnDubya; 06-02-2009 at 05:01 PM. Reason: remove self-promotion


  •  

    Posting Permissions

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