remove white space when upload file
uploading file in form many people use file name whit some white space.
I would remove it think with str_replace but don't know where I can use. any suggest?
uploading file in form many people use file name whit some white space.
I would remove it think with str_replace but don't know where I can use. any suggest?
webassist/file_manipulation/helperphp.php
change line 81:
$baseFileName = preg_replace('/\.[^.]*$/', '', $uploadedFile["name"]);
to:
$baseFileName = preg_replace('/\.[^.]*$/', '', $uploadedFile["name"]);
$baseFileName = str_replace(' ', '', $baseFileName);
perfect! I hope you put it in the next upgrade. Thank
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.