Hello All! I have a HTML text box that I need users to write what ever they like in it. Similar to the following....
my $oofmsg = param('oofmsg'); $me = 'dan'; That gets passed on through a scrolling text box and from there it is writen to a file like the following.... open VAC2, "+< $file" or die "Cannot open $file in update mode:$!"; flock(VAC2, 2) || die "Can't lock $file exclusively: $!"; print VAC2 $oofmsg; system("cp -Rf $file /home/$me/$file"); close VAC2; So far everything seems to be working fine except for the fact that the variable $oofmsg doesn't keep it's formatting from the scrolling text box. I mean if the user types the following into a text box like so... Hello World How are you? Dan The file $file is written to as the following... HelloWorldHowareyou!Dan Is it possible to keep the formating? I.e new lines and spaces? Thx, Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]