note 112940 rejected from features.file-upload.post-method by googleguy
| From: | googleguy@php.net | Date: | Fri, 09 Aug 2013 10:52:24 +0000 |
| Subject: | note 112940 rejected from features.file-upload.post-method by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-195922@lists.php.net to get a copy of this message | ||
Note Submitter: huseyin_topcu at hotmail dot com
----
My question is how possible to maintain the original name of a file uploaded to the server. I mean,
if I upload a photo with the name "mapa-vacaciones.png" to the server, the name is changed
to be for example "dyz195.png". I know that this happens because of tmp_name and sprintf
functions. So, I repeat the question: Is it possible to maintain the original name
"mapa-vacaciones.png" in the server? Thanks.