in reply to CGI upload script problem with Explorer.
The regex I've used for file uploads is:
# Remove the file path information, if needed if ( $file =~ /([^\/\\]+)$/ ) { $filename = $1; # Set the filename } else { $filename = $file; }
Hope that helps,
Jeremy
|
|---|