Wednesday, January 21, 2004

Be causios when getting a text from Textarea in html form


Today a simple problem took couple of my busy hours.
i was trying to operate on ( regex ) text coming from textearea on html form.
and regex was not working.
At the end realised that browser was inserting (\r) carriage return after each line in that textarea. This result of difference between file formats on windows and linux.
so be causios when working with textarea and linux cgi programs.

0 Comments:

Post a Comment

<< Home