#1
|
||
|
phUploader - Renamed files
Hi all, Ive uploaded the script and appears to be just what i was looking for, BUT, for some reason when a file gets uploaded the script changes it name. Ie. I upload a file called 'game_trackmaniaGC.tar' but the script changes its name to '1210873713.tar'. Whats that all about?
Like i say this this script is just what im looking for but i really do need the correct file names to be kept. Any help would be very much appreciated. Thanks |
#2
|
||
|
My guess is primarily to keep people from overwriting files.
If you upload a file named game_trackmaniaGC.tar, then I come along an upload a different file with the same name, chances are my copy will overwrite your copy. So the script generates a random string for the name, thus insuring that the chances of files getting overwritten are next to none. IcI |
#3
|
||
|
Set $random_name in phUploader.php to false and it wont change the file names..
__________________
04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq |
#4
|
|||
|
Quote:
Thanks again dude. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
phUploader Customize | hysteriksmile | phphq.Net Forums | 4 | 03-24-2010 11:41 AM |
PhUploader problem | buggerwepisspoo | phphq.Net Forums | 0 | 09-21-2008 06:18 PM |
phUploader- link to all files | lolfake | phphq.Net Forums | 1 | 06-30-2008 05:52 PM |
phUploader | sof-com | phphq.Net Forums | 1 | 05-25-2008 02:50 AM |
phUploader help | lodupersempre | phphq.Net Forums | 0 | 05-12-2008 08:30 AM |