RE: [NOVICE] calling perl program within a cgi script with parameters from html form

2005-04-26 Thread Charles K. Clarkson
Sean Davis wrote: : suppose my form values are stored in variables : $a = param('name') : $b = param('age') : : Now I need to call a perl function wth $a, $b as parameters. : My $string = "perl test.pl $a $b" : system($string) : : This is wht I am using now. when I try

calling perl program within a cgi script with parameters from html form

2005-04-26 Thread Deepblues
I have a problem linking my cgi script to the perl function. I have perl functions to perform manipulations to the database. I am creating a web front end to it. I have a html form which accepts data from the user and calls the cgi script ( in perl)which processes this data , performs validation

Re: [NOVICE] calling perl program within a cgi script with parameters from html form

2005-04-26 Thread Sean Davis
This isn't really the right email list for this question. Try this list instead (to which I have moved the discussion). beginners-cgi@perl.org However, this likely has to do with privileges to execute your perl script. In the last couple of days, the beginners-cgi list has answered your quest