<snip author="Raditha Dissanayake"> %0D%0A is CRLF but there isn't any reason why that should break your script. Please share with us what error messages you are getting. </snip> I wish I could, but if there's a hard carriage return in the textarea, the pages resorts to a 404. Utterly confused, rob