Hi Karl,
Simply put a save button on your page. When it's clicked,
pass document.forms[0].textareaname.value to the other
script, (it's written in javascript, if you're familiar with that),
then you'll access the content of the text box.
to save it on a local disk, simply use javascript again, it
will help you save a file on disk. [altough there are some
security reasons which prohibit you write on the client's
side, you can still do that using the below script] it's a good
guide. however, you have to change some parts:
hope it works,
Ahmad Anvari
- Original Message -
From: Karl J. Stubsjoen
To: PHP Mailing List
Sent: Tuesday, February 06, 2001 6:23 PM
Subject: [PHP] Save to Local Disk
Hello,
I'd like to give the user an option to "Save to Disk" the contents of a text
area. Any ideas how to do this?
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]