How to have custom url for user uploaded files using php

gdogcardnab

New Member
How can i offer custom url's for files uploaded by users.For ex: user uploads a file called stack.png and it's uploaded on directory http://www.website.com/uploads/stack.pngBut i want to allow the user to view/download the same file at http://www.website.com/username/uploads/stack.pngPlease note i don't want to use url shortening/changing scripts, I want to somehow map the file url to that location., such that user can insert the file in their website or blog using the url "http://www.website.com/username/uploads/stack.png" instead of "http://www.website.com/uploads/stack.png"Is it possible?? If yes how can i do it using php.Please note i have hundreds of files for which i want to implement tis.
 
Back
Top