Does anybody knows how can I convert text into links?
For example, I have a string:
$string = "Hello, my site is www.example.com, or http://www.example.com";
and should be like
$string = "Hello, my site is <a href=.....
I know this can be done with preg_match, but anyone knows how?
If possible, is there a way to do like PHPBB, that big links are like:
[url]http://www.exampl....page.php[/url]
Thank you