[snip] That looks very complicated to me. Can anybody point me into the right direction? Thanx for any help, [/snip] strip the \n from the existing text first, then '>' . $line . '\n' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php