<?php /* подсветка url'ов' в тексте */ function parse_urls($source) { return ereg_replace("(http|https|ftp|telnet|news|gopher|file|wais)://(([A-Za-z0-9.-])*)", "<a target="_blank" href="0"></a>", $source); } ?>