Save to user's HD

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
FCB
Forum Newbie
Posts: 8
Joined: Mon Jun 21, 2004 6:12 pm

Save to user's HD

Post by FCB »

hey, i'm developing a site that eventually will compile one big variable that I want the user to be able to save on their hard drive as a .txt or if possible, a .html. I can always have the script write the file to the server then give the user a link to it, but if i could do it directly i wouldn't have to clean out the file all the time. Any ideas? Thanks!
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

search the forum for "force download", we've talked about it plenty..
User avatar
tim
DevNet Resident
Posts: 1165
Joined: Thu Feb 12, 2004 7:19 pm
Location: ohio

Post by tim »

Post Reply