Elthib wrote:Hi all,
I discover a bug in your script. There is a bug with files which have a space in their name when we click on "Download File Now". For example :
"file-test.zip" will work for download
but
"file test.zip" will not download...
Moreover, i think there is a problem with captcha code...
Captcha should be working just fine, unless it doesn't show at all which means it's a PHP config issue, however in regards to the space issue I have added a code in ./upload.php to replace all files including spaces with an underscore ("_"). Just download the newer and updated version here:
http://www.daddyscripts.com/forum/viewtopic.php?f=4&t=29&p=121#p121 and replace the ./upload.php file. To change the underscore to another character, just modify the following piece of code in ./upload.php where it contains the underscore
- Code: Select all
$filename = str_replace(" ",'_',"$filename");
.