- or download this
#!/usr/bin/perl
BEGIN {
$|=1;
- or download this
use CGI::Carp('fatalsToBrowser');
}
use CGI;
use LWP::Simple;
- or download this
use strict;
use warnings;
- or download this
$q= new CGI;
$my_data=$q->param('set');
$lower=1000;
...
$random = int(rand( $upper-$lower+1 ) ) + $lower;
$filename="file$random.jpg";
getstore($my_data,"../temp/$filename");