Get the content of the file and store it into a variable, then put into the textarea like this:
open (FILE, $file); @content = <FILE>; close FILE; print <<eof; .... <form .... > <textarea cols="60" rows="10" name="file">@content</textarea> ... </form> eof Teddy, Teddy's Center: http://teddy.fcc.ro/ Email: [EMAIL PROTECTED] ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 16, 2002 5:49 PM Subject: Form TextArea loading Hi all, Can sombody tell me how to load the contents of a text file into a textarea of a form in cgi? thanks... oh and also need to to remove blank spaces from a string non realated though Ambrose -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]