Jump to content

small mod to perl script can anyone help?


Recommended Posts

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.

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.