Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Help... I know nothing about perl...

by Roninpc (Initiate)
on May 01, 2001 at 21:23 UTC ( [id://77036]=note: print w/replies, xml ) Need Help??


in reply to Re: Help... I know nothing about perl...
in thread Help... I know nothing about perl...

Ok, I see how it works, but I (sorry, I really am out of my league here) don't know if I add that script to my current for handeler, or save it as a separate function. Do I call it from the first?

I am going to take look at the suggested links to see if they show how it is done. Currently, the form handeler gets the data from get.html, and emails it back using a page called get.txt. My client wants me to change his form so that instead of a successful submission going to a generic "thanks" page, that it says "Thanks Adam, here is your certificate for $25 bucks off. Please print this page."

While I can use javascript for the "print this page" part, and I see how your suggestion works, but I don't know what to do with it... I was hoping to find a complete for that does the same thing on this (or any of the free cgi script sites) to learn how, but I cannot seem to find the cgi you wrote above in use. Thanks for your reply.
  • Comment on Re: Help... I know nothing about perl...

Replies are listed 'Best First'.
Re: Re: Help... I know nothing about perl...
by TGI (Parson) on May 01, 2001 at 22:21 UTC

    The webmonkey site I mention below should help clear these questions up. Basicly, the action property of your form needs to point to the cgi script that handles the request. Your cgi script needs to be in a directory on the webserver that allows cgi to execute (often '/cgi-bin').

    astanley's script should work for you with very minor modification.


    TGI says moo

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://77036]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2024-04-24 23:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found