Hi coders.
I need a bb code that makes the text http://site.site a link.
I use this:
But if the link is http://site-a.site the link will be only http://site , a-.site will appear as text.
Thx.
I need a bb code that makes the text http://site.site a link.
I use this:
PHP Code:
$text = ereg_replace("http://[A-Za-z0-9./=?-_]+","<a href=\"\\0\">\\0</a>", $text);
Thx.
Comment