Make phpthumb not rename the image

77 views
Skip to first unread message

Jens Wedin

unread,
Mar 16, 2010, 9:08:47 AM3/16/10
to Magic Fields
Is it possible to make phpthumb not rename the file when uploading the
image?

collaborate.png > 1268744762collaborate.png

Cheers,
Jens

David C

unread,
Mar 16, 2010, 3:26:14 PM3/16/10
to Magic Fields
Yes, this would be very nice. Is this possible, Magic Field guys?
Message has been deleted

Bruno

unread,
Mar 16, 2010, 5:26:13 PM3/16/10
to Magic Fields
@Jens Wedin & David C

Although I would not recommend the change, you can edit
'RCCWP_upload.php' on line 49 and where:

$filename = time() . $filename;

You can change to:

$filename = $filename;

In my opinion, you should ALWAYS have something unique on your
uploaded files name to avoid accidental overwrites.


Cheers!
==
Bruno

Jens Wedin

unread,
Mar 17, 2010, 10:21:52 AM3/17/10
to Magic Fields
Thanks Bruno!

/Jens

Reply all
Reply to author
Forward
0 new messages