How can I DL a file without sharing it online?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
gotDNS
Forum Contributor
Posts: 217
Joined: Tue May 07, 2002 5:53 pm
Location: West Chester, PA

How can I DL a file without sharing it online?

Post by gotDNS »

I need to have a DL for files without sharing it online.....the user puts in the hard-drive path and it gives them the DL box. thanks
jason
Site Admin
Posts: 1767
Joined: Thu Apr 18, 2002 3:14 pm
Location: Montreal, CA
Contact:

Post by jason »

Well, you could do something where the person types in the path, then submits it.

PHP would copy the file from the path location, move it to something in the public web directory, and allow the user to download it. When the user is done downloading it, the script deletes the file.

Just a thought?
Post Reply