Esta funcion "clickable", te permite cambiar los textos a url....
Código PHP:
Ver original<?php
function clickable($url){
$in = array('`((?:https?|ftp)://\S+[[:alnum:]]/?)`si', '`((?<!//)(www\.\S+[[:alnum:]]/?))`si'); $out = array('<a href="$1">$1</a>', '<a href="http://$1">$1</a>'); }
$string = "Este es un enlace www.forosdelweb.com";
echo clickable($string);
//deberia quedar: Este es un enlace <a href="http://www.forosdelweb.com">www.forosdelweb.com</a>
?>
Suerte