Write file to computer

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
kristolklp
Forum Commoner
Posts: 30
Joined: Mon Sep 05, 2005 2:24 pm

Write file to computer

Post by kristolklp »

Is it possible to write a file directly to a local computer using php?
User avatar
thisismyurl
Forum Newbie
Posts: 15
Joined: Wed Dec 03, 2008 8:00 am

Re: Write file to computer

Post by thisismyurl »

If you mean, is it possible for a web site to write a file directly to the computer of a user with no interaction ... no but, PHP can write files to an end user computer using the Save As dialog box or the Download function of most web browsers.

You can also modify the header of files to make that file save as anything from an HTML to a DOC file, even graphic files.
Post Reply