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. 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. 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
Archived
This topic is now archived and is closed to further replies.