in reply to Form submit jumps to wrong file.

Your form action is set to the module, when it should probably be set to the program. I'm not aware that the type attribute of an input tag can be set to "int". I'd be surprised if your script compiled, as perl automatically adds the '.pm' to a module name for you, and it's quite likely not a part of the package name. (Though you claim otherwise, I'd still add the hash-bang line at the top of the script to give the web server some clue as to how to run it. Configurations vary.)

Replies are listed 'Best First'.
Re: Re: Form submit jumps to wrong file.
by Nihil Angst (Novice) on Aug 07, 2002 at 01:51 UTC

    Thanks for your help. The siutuation seems to have
    improved a little bit. Removing the ".pm" extension
    resulted in my jumping to a Tripod default page that
    said the URL I was trying to access does not exist.
    I've tried submitting the corrected form using
    both "post" and "get" methods; I get the same result
    either way.

    And regarding the hash-bang line, the host themself says
    not to use it. I've tried including it anyway,
    but it hasn't made a difference. Once more, thanks for
    your help.

      It sounds as though you're going to need to contact tripod to see exactly how they call a cgi script. Different hosts have different ways of calling them. They should be able to help you with that.

      That said, make sure your permissions are set correctly (755) or you'll find you're downloading the script, not running it - at least that was my first experience. :)

      Good luck!

      Some people fall from grace. I prefer a running start...