$ ls hello.txt c:\upload\foo.doc c:\temp\send.txt etc...:).. this is how CGI.pm gets the file name:
my($filename) = $header{'Content-Disposition'}=~/ filename="?([^\";]*)"?/;
lhoward did point out that some clients do send the full path. I need to look deeper into the CGI.pm source when I have an extra tuit.
Cheers,
KM
In reply to RE: RE: grabbing text
by KM
in thread grabbing text
by jntn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |