Quote:
Originally Posted by Lynne
No, I can't test it. I have no idea where it is supposed to get $buffer from. Exactly what are you trying to do? Just replace a link in a post for one userid? Why a function? Why aren't you just using str_replace for the $post['message']?
|
this php script is fully working outside the forum!!! its replace the link
http://example.com with nothing for all user that are logged in!
in other words:
its searching the whole site for "http://example.com" and replace replace it with nothing!
how you would do that using str_replace for the $post['message']?
please show me your code.
what i need is to replace all "http://example.com" to nothing in all posts if the user is logged in!