Re: upload files into MySQL database

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "PHPDiscuss - PHP Newsgroups and mailing lists"
<steka@xxxxxxxxxxxxxxx>

> I have problem for downloading files from MySQL database.
> Although I store and I see the filename and the extension in the database,
> when I try to download it, if there are blank spaces inside the filename,
> like "my book store.doc"
> I cannot open it and see it.

You shouldn't use spaces in file names.

Use urlencode() on the filename before you create a link to it.

---John Holmes...

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux