On Friday 27 June 2003 18:11, Jason End wrote:
> Is there a way to serve files with a different file
> name than they actually have?
> Here's my situation:
> Users can upload software manuals, which are then
> saved with a unique name. Their title, filename, type
> and id are then save into a db.
> But when they go to download a file, they'll of course
> see a very cryptic filename in their save as dialog.
> Lets say they aren't smart enough to change that name.
>
> So would their be a way to serve a file with a
> different name than it's actual one?

On a un*x system you can use symlinks.

Otherwise you can have php handle the download, see archives for more info.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Carson's Consolation:
        Nothing is ever a complete failure.
        It can always be used as a bad example.
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to