Download system
| From: | JoShQuNe \(TR\) | Date: | Mon, 21 Mar 2005 23:45:39 +0000 |
| Subject: | Download system | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-211221@lists.php.net to get a copy of this message | ||
Hi, i want to add my site a more specific download system. The redirecting is now done by directly
giving the path of the file to variable. I want to do it over an id number.
(now: dl.php?rel=/files/somefile.zip, i want: dl.php?id=64b3j283) The file path and id is read
from mysql table. System is now; it matches from table and lets visitor to download but putting
this kind of path is something useless. Download script is just used for counting the hit but for
example i want to rename the file while giving to visitor instead of letting user to learn where
it is stored and its real name, The_Justice_by_Someone_MyDomain_com.zip looks like what i want to
have. I tried this system with header("Location: ......"); but it just opened a new page
and
nothing happened else. For example if visitor uses FlashGet i want him to see just an address
which doesnt involve the real path and name. If any body can help me, please.. Thanx a lot..
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com