severndigital Posted May 27, 2010 Share Posted May 27, 2010 I have a perl script that runs in cgi-bin directory. I would like to pass a hidden form value to it and assign it a variable in the cgi file. example $i++ while (-e "$c->{target_dir}/$fn$i$ext" && $c->{copy_mode} eq 'Rename'); #needs to be modded to something like $i++ while (-e "$my_hidden_form_field/$fn$i$ext" && $c->{copy_mode} eq 'Rename'); can anyone help a brotha out? Thanks in advance. Quote Link to comment https://forums.phpfreaks.com/topic/203115-small-mod-to-perl-script-can-anyone-help/ Share on other sites More sharing options...
severndigital Posted May 27, 2010 Author Share Posted May 27, 2010 i was able to figure it out ... i used $cg->param('name of hidden field') after messing with code. Quote Link to comment https://forums.phpfreaks.com/topic/203115-small-mod-to-perl-script-can-anyone-help/#findComment-1064281 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.