PDA

View Full Version : HELP needed with posting to Perl with a variable in query string???


shahid634
03-24-2004, 08:35 AM
hi,
basically, my aim is to submit a variable as a query string on the end of a perl script url?? code below:

this is the on release method:

on (release) {
getURL("/cgi-bin/ifpfp_jobs.pl", "", "POST");
}

this is the variable:

main_link

i want to include the value of the above variable with the perl url. some thing like this:

"/cgi-bin/ifpfp_jobs.pl?main_link"

but it doesn't work, some help would be real nice ;)

thanks,
Shahid

butterbur
03-26-2004, 05:42 AM
I don't know pearl but usually name/variable pairs are passed through the get method as:
?variable_name=variable
so try:
"/cgi-bin/ifpfp_jobs.pl?link=main_link"
and access the variable in your script as the name "link"

If this makes no sense then just wait for a pearl person to view your thread.
Regards
BB