Download system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux