
XUpload - using file_rename_mask
using file_rename_mask
is there a way I can replace blank space with an underscore 

- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
There's a quick hack for this. In upload.cgi find string
and add after it:
Code: Select all
$filename =~ s/.*\\([^\\]*)$/$1/;
Code: Select all
$filename=~s/\s/\_/g;
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm