Re: I have problems with download scripts, it's trying to print instead of saving the file
- From: Gunnar Hjalmarsson <noreply@xxxxxxxxx>
- Date: Fri, 30 Sep 2005 06:20:53 +0200
Tad McClellan wrote:
E Arredondo wrote:
$filename = $query->param("photo"); $filename =~ s/.*[\/\\](.*)/$1/;
perldoc File::Basename
Not for parsing the path that comes with a file upload request. File::Basename doesn't have a clue about the platform the file was uploaded from.
-- Gunnar Hjalmarsson Email: http://www.gunnar.cc/cgi-bin/contact.pl .
- References:
- Prev by Date: Re: Print substitution ?
- Next by Date: Attaching thumbnail to a windows folder
- Previous by thread: Re: I have problems with download scripts, it's trying to print instead of saving the file
- Next by thread: Re: I have problems with download scripts, it's trying to print instead of saving the file
- Index(es):
Relevant Pages
|
|