in reply to CGI.pm file upload freaking me out
Then after that, you could do a s/// or t/// to replace .jpeg to .jpg, or just tweak with that a little. Best of luck!my $jpeg = 'jpg'; if (lc(substr($upload,length($upload) - 4,4)) eq $jpeg){ ...do crap }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: CGI.pm file upload freaking me out
by ryddler (Monk) on Jan 07, 2001 at 09:01 UTC | |
by chipmunk (Parson) on Jan 07, 2001 at 21:21 UTC |