I am building a dynamic image gallery for a local companys website, to allow them to upload images to the web server, add galleries to the website and assign images to each gallery.
I am using PERL CGI on the server to handle all the uploading etc. The problem is that the customer has Windows 2000 with IE, so typical files being uploaded might be C:\Images\image.jpg. When the absolute file names are received at my script, the backslashes are interpolated when I use:
- Code: Select all
my $file1 = $cgi->param('file1');
P.S. If it's not already obvious, I'm pretty new to PERL!