hello there.
i am currently building a download page and i would like to hide the actual path to the file on the server.for example the path of the file to download is "http://domain.eu/files/application.exe", let's say i want the visitors to download it by loading "http://domain.eu/downlod.php?&file=application".how can i do that? i don't know if this can be done with php, i am just looking for somebody to point me into the right direction, thx 🙂
the basics: store the file names somewhere like a db then use header() to send them the file.
should add readfile() to the end, both the header and readfile page in the manual has examples that covers the basics.