Home: Perl Programming Help: Beginner:
Form Question



Revival Fire
Novice

Mar 1, 2001, 8:56 PM


Views: 190
Form Question

Is it possible to call on on more than one cgi script with one form submission?



Aquilo
journeyman

Mar 1, 2001, 10:31 PM


Views: 188
Re: Form Question

you can require & send info to another script, just pass
the name=value pairs that the other script can use.
[pre[
#!/usr/local/bin/perl

require "/path/to/server/script.pl";
$new_name1 = $FORM{'value1'};
$new_name2 = $FORM{'value2'};
&sub_name_you_need;

1;

I don't know if you realy need the full path but it's faster for me :)