$p1 = '{(http://[a-z.][^\n\s]*)}'; $pp1 = '<a href="$1">$1</a>'; return $s; }
moglby ktos naprawic ten skrypt albo wkleic swoj co podmienia linki?
zrobilem: http://path-of-power.com/php-replace-link-function,203
wordwrap mialem i nie dzialalo
<?php function rplc($x,$style='') { $x = ereg_replace('[-a-z0-9!#$%&\'*+/=?^_`{|}~]+@([.]?[a-zA-Z0-9_/-])*','<a href=\'mailto:\\0\' '.$style.'>\\0</a>',$x); $x = ereg_replace("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]","<a target='_blank' href='\\0'>\\0</a>",$x); return $x; } ?>