note 112940 added to features.file-upload.post-method

From: Date: Fri, 09 Aug 2013 10:50:10 +0000
Subject: note 112940 added to features.file-upload.post-method
Groups: php.notes 
Request: Send a blank email to php-notes+get-195921@lists.php.net to get a copy of this message
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. ---- Server IP: 69.147.83.199 Probable Submitter: 95.16.13.24 ---- Manual Page -- http://php.net/manual/en/features.file-upload.post-method.php Edit -- https://master.php.net/note/edit/112940 Del: integrated -- https://master.php.net/note/delete/112940/integrated Del: useless -- https://master.php.net/note/delete/112940/useless Del: bad code -- https://master.php.net/note/delete/112940/bad+code Del: spam -- https://master.php.net/note/delete/112940/spam Del: non-english -- https://master.php.net/note/delete/112940/non-english Del: in docs -- https://master.php.net/note/delete/112940/in+docs Del: other reasons-- https://master.php.net/note/delete/112940 Reject -- https://master.php.net/note/reject/112940 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#195921) next »