cyclotron wrote in php

Writing Text File To the User Desktop

I've just begun researching how to write a text file to the user's desktop.

For reason's I can't understand, I have to be able to take the info contained in a web form and save it as a text file to the users desk (create an array, write a tab delinated file).

Later, I will have to allow the user to locate thsi file and re-populate the form with the data.

I'd appreciate any help and tips you have.

more: the user will click to save and select the location. And then find the file later. It's not automatic.