A script to replace URL-s with links ???

From: Date: Tue, 16 Apr 2002 16:03:46 +0000
Subject: A script to replace URL-s with links ???
References: 1 2 3  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-3771@lists.php.net to get a copy of this message
Hello, [Sorry if this is off-topic.] Do you know where can I find a good script to replace URL-s with links? The one from the PHP manual page for ereg_replace() does not satisfy me: * does not link email address like root@some.server.com; * does not handle URL-s which do not start with "http://", but are pretty obvious - like www.server.com; * some scripts (this one, fortunately, no) spoil the addresses when they are parenthesized (http://www.server.com) or separated with comas - www.abc.com, www.def.edu. They treat the ending ")" or "," as a part of the address. Do you know where can I find a good script for this? Thank you...

« previous php.smarty.general (#3771) next »