On 5/17/2010 8:53 AM, Andre Polykanine wrote:

Magic quotes are disabled:
Any ideas?
Thanks a lot!

Your code should work for something as simple as this, almost regardless of the php setup.

Change your
$what=array("\r\n", "\n", "\r");

To this, so you can see exactly what's happening.

$what=array("\r\n", "\n", "\r");
$with=array("[*rn*]", [*n*], [*r*]);

Echo the string.

There is an error in your $what. You have not included \n\r which is the most likely case.

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to