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. RE: PHP - filename editing on the fly.
I currently use a header to fetch the file.
Basically when you click download it goes to the download page, which then fetches the id, and searches the db and finds relative results. It then headers it to the file (after adding +1 to the download counter).

So I tried using the Content-Disposition, but it doesn't work properly :S.

code:
header("Location: {$download}");


That's whats in my download page (minus the counter).

Help :P
Touch Innovation - touch friendly programs/applications for the windows mobile!


10-20-2008 03:11 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