HTTP_Upload unique files

From: Date: Sat, 02 Oct 2004 17:25:25 +0000
Subject: HTTP_Upload unique files
References: 1  Groups: php.pear.dev php.pear.general 
Request: Send a blank email to pear-dev+get-33615@lists.php.net to get a copy of this message
If I want to produce unique names for uploaded files, the current 'uniq' naming convention is good, but has some problems. 1) Doesn't reserve the original name of the file( "UserGuide[2].pdf" is still better than "ssakjhDsdfd23213dsfds.pdf") 2) The names are TOO long! they require more database space, and make HTML files bigger(Few bytes only) I want to be able to have unique names in the following format userGuide.pdf userGuide[1].pdf userGuide[2].pdf I noticed that this is not yet implemented. If you think this is a feature everybody might need, I will work on the package and add this option. Ammar Ibrahim

« previous php.pear.dev (#33615) next »