What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » PHP - filename editing on the fly.

PHP - filename editing on the fly.
Author: Message:
Nathan
Veteran Member
*****

Avatar
Yeah, "large dimensions" ;)

Posts: 2984
Reputation: 76
– / Male / Flag
Joined: Apr 2005
O.P. PHP - filename editing on the fly.
Okay so here's the situation.

Whenever I upload via the admin control panel, it will change the filename and change it to a random one that hasn't been used yet. This helps keep the site running smoothly with multiple admins.

Problem is, I get multiple emails a day of people saying the site is great but the random filenames are annoying.

I need to know of a fast and best possible way of changing the filename ON THE FLY, and supplying the user with the new filename.
So the user clicks download, it fetches "12345634hfd.zip" and then edits the filename to "Messenger.zip" and then they get the normal "are you sure you want to download this file - in firefox". Only way I can think of is fetching the file, saving it to another area and then changing the filename and then supplying the user with a new link - but this is slow and could cause errors if more than one person accessed at the same time.

I'm probs thinking too complicated for a simple thing, so maybe you could help me out :)

Thanks
Touch Innovation - touch friendly programs/applications for the windows mobile!


10-19-2008 10:33 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
PHP - filename editing on the fly. - by Nathan on 10-19-2008 at 10:33 PM
RE: PHP - filename editing on the fly. - by Mike on 10-19-2008 at 10:42 PM
RE: PHP - filename editing on the fly. - by Nathan on 10-19-2008 at 10:43 PM
RE: PHP - filename editing on the fly. - by Eljay on 10-19-2008 at 10:46 PM
RE: PHP - filename editing on the fly. - by ShawnZ on 10-19-2008 at 10:50 PM
RE: PHP - filename editing on the fly. - by Nathan on 10-19-2008 at 10:52 PM
RE: PHP - filename editing on the fly. - by Mike on 10-20-2008 at 05:24 AM
RE: PHP - filename editing on the fly. - by Nathan on 10-20-2008 at 08:08 AM
RE: RE: PHP - filename editing on the fly. - by ryxdp on 10-20-2008 at 09:05 AM
RE: PHP - filename editing on the fly. - by NanaFreak on 10-20-2008 at 08:10 AM
RE: PHP - filename editing on the fly. - by John Anderton on 10-20-2008 at 10:10 AM
RE: PHP - filename editing on the fly. - by Nathan on 10-20-2008 at 10:13 AM
RE: PHP - filename editing on the fly. - by thorerik on 10-20-2008 at 10:23 AM
RE: PHP - filename editing on the fly. - by Nathan on 10-20-2008 at 03:11 PM
RE: PHP - filename editing on the fly. - by Dempsey on 10-20-2008 at 04:05 PM
RE: PHP - filename editing on the fly. - by Nathan on 10-20-2008 at 05:52 PM
RE: PHP - filename editing on the fly. - by Lou on 10-20-2008 at 09:17 PM
RE: PHP - filename editing on the fly. - by Nathan on 10-20-2008 at 09:32 PM
RE: PHP - filename editing on the fly. - by Eljay on 10-20-2008 at 09:44 PM
RE: PHP - filename editing on the fly. - by Nathan on 10-20-2008 at 09:54 PM
RE: PHP - filename editing on the fly. - by hmaster on 10-21-2008 at 10:14 AM
RE: PHP - filename editing on the fly. - by Mike on 10-21-2008 at 10:48 AM
RE: PHP - filename editing on the fly. - by hmaster on 10-21-2008 at 11:45 AM
RE: PHP - filename editing on the fly. - by Nathan on 10-21-2008 at 12:41 PM
RE: PHP - filename editing on the fly. - by Mike on 10-21-2008 at 12:51 PM
RE: PHP - filename editing on the fly. - by Nathan on 10-21-2008 at 02:58 PM
RE: PHP - filename editing on the fly. - by Mike on 10-21-2008 at 10:40 PM
RE: PHP - filename editing on the fly. - by Nathan on 10-21-2008 at 10:41 PM
RE: PHP - filename editing on the fly. - by NanaFreak on 10-22-2008 at 03:20 AM
RE: PHP - filename editing on the fly. - by ShawnZ on 10-22-2008 at 03:38 AM
RE: PHP - filename editing on the fly. - by Nathan on 10-24-2008 at 07:08 PM
RE: PHP - filename editing on the fly. - by vaccination on 10-24-2008 at 07:17 PM
RE: PHP - filename editing on the fly. - by Nathan on 10-24-2008 at 07:21 PM
RE: PHP - filename editing on the fly. - by Spunky on 10-25-2008 at 09:23 AM
RE: PHP - filename editing on the fly. - by -dt- on 10-25-2008 at 09:51 AM
RE: PHP - filename editing on the fly. - by Nathan on 10-25-2008 at 10:30 AM
RE: PHP - filename editing on the fly. - by NanaFreak on 10-25-2008 at 12:31 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On