Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: CGI recipient Option

by ikegami (Patriarch)
on Sep 01, 2004 at 16:24 UTC ( [id://387590]=note: print w/replies, xml ) Need Help??


in reply to Re^2: CGI recipient Option
in thread CGI recipient Option

After the foreach $pair (@pairs) loop (because that's where %FORM is initialized), but before open(MAIL, ...) (because that's where $receipient is used).

Replies are listed 'Best First'.
Re^4: CGI recipient Option
by quissett (Initiate) on Sep 01, 2004 at 16:36 UTC
    Could you do an if/else? for example:
    $recipient='hdavis@whoi.edu' if($FORM{'ckusno'}); else $recipient='hdavis@whoi.edu';

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2024-04-23 14:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found