Pure PHP Upload 2 Support Product Page

Undescores instead of spaces in filenames

Reported 17 Jun 2015 17:08:55
has this problem
17 Jun 2015 17:08:55 Adrian Leontovich posted:
I'm using mySQLi in conjunction with the Pure PHP Upload 2, and when the code uploads the file to the web server, it inserts underscores where spaces would be in the filename when it saves the file to the server. That's fine I guess, except that it does NOT do that to the filename in the fileField value when saving to the database on INSERT. Because the filename in the database has spaces, but the actual uploaded file has underscores, the dynamic links on the page to that file fail, of course. Thoughts?


Replied 04 Sep 2015 19:24:02
04 Sep 2015 19:24:02 Adrian Leontovich replied:
Any answer on this?? Anyone? Beuler?

Reply to this topic