1337ifier
Posted: Mon May 24, 2004 8:02 am
I'm trying to make a 1337ifier for my site. You type in some text and press a button, and the text is converted to 1337sp33k. But:
When you use str_replace() or ereg_replace() to change for example "you" to "yuo", it changes all occurences of "you". But I want to change some "you" to "yuo" and some to "j00". How would I do that? I guess I could use explode() in some way, but I don't know how.
When you use str_replace() or ereg_replace() to change for example "you" to "yuo", it changes all occurences of "you". But I want to change some "you" to "yuo" and some to "j00". How would I do that? I guess I could use explode() in some way, but I don't know how.