problem: i'm a newbie and i'm working on a script that replaces several substrings like (๐,;P,:sleep๐ with <img src=linktosmilie> and my problem is how to handle long strings fast! i always get problems with "maximum execution time". so please help me! is PHP4 faster??
thx
Use the ereg_replace function if you aren't already.
Ex. $newstring = ereg_replace("๐","<img src=...",$oldstring);
Will replace ๐ with <img src=..." in $oldstring
i've already used the ereg_replace function hmmm