in reply to
Re: Re: CGI.pm file upload freaking me out
in thread
CGI.pm file upload freaking me out
On the other hand,
/\.jpe?g?$/
would also allow .jp, so this might be more suitable:
if ($file_name !~ /\.jp(?:eg?|g)$/)
Comment on
Re: Re: Re: CGI.pm file upload freaking me out
Select
or
Download
Code
In Section
Seekers of Perl Wisdom