note 19094 deleted from function.str-replace by alindeman
| From: | alindeman@php.net | Date: | Sat, 17 May 2003 22:05:34 +0000 |
| Subject: | note 19094 deleted from function.str-replace by alindeman | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-48288@lists.php.net to get a copy of this message | ||
Note Submitter: m0sh3NO@SPAMhotmail.com
----
I found out that sometimes
$dest = str_replace($from, $to, $source)
requires quoted-printable encoding of
$to.
I think it's because of long $source ...
Took me an hour or two to understand why i'm getting weird results...
In my case:
$dest = str_replace(".php/",".php/ref=3D$ref&",$source);
I had to put '=3D' instead of '='.
Hope to save few hours to somebody :)