Thanks, and I think we have been able to use the php to write to the text file, and then with a program similar to the one you posted, we were able to get the file to download to my local pc hard drive.
The part I am stuck on now is how to use autolisp to send a text file back to the web server so the web program can then pull input from that.... (at least I think that is how it should work?)
Thanks!