in reply to Trouble getting a Perl script to run with an HTML form

One way to learn is to look at a bit of code someone else has written that does the same thing. You aren't allowed to "use CGI;" but you could go look at the source code in CGI to see how it is done.

How to find the CGI source code is left as an exersize for the student (its not very hard).

--Fred

-------------------------------------
Nothing is too wonderful to be true
-- Michael Faraday

  • Comment on Re: Trouble getting a Perl script to run with an HTML form

Replies are listed 'Best First'.
Re: Re: Trouble getting a Perl script to run with an HTML form
by alarthame (Novice) on Oct 20, 2003 at 21:33 UTC
    What am I looking for? I don't even know what I did wrong! :\

      I know what you mean. Once someone gets used to something, they can be pretty close to the problem and not explain it well. You might want to check out my CGI course (link is below), but since I don't know what level you're at, it still might be a bit advanced for you. Lesson two explains what you "did wrong". However, I wouldn't say you did anything wrong if you didn't know. After you read lesson 2, you should have a slight idea of what the issue is, but if you're too new to Perl, it might seem a bit daunting.

      Good luck!

      Cheers,
      Ovid

      New address of my CGI Course.

      Nobody else has any clue what you did wrong either, aside from various guesses about changing the param list of read. What isn't working? What does the server say? How are you testing it? How do you know it doesn't work? What are the errors you receive? This is all vital information that you didn't provide.