http://
| From: | jtjohnston | Date: | Fri, 08 Feb 2002 03:02:44 +0000 |
| Subject: | http:// | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-83956@lists.php.net to get a copy of this message | ||
I'm looking for a function that will find occurences of urls in any
given string and do this:
http://www.nowhere.com/
becomes
<a href="http://www.nowhere.com/">http://www.nowhere.com/</a>
Could, should also look for
mailto:someone@nowhere.com
telnet:blah.blah
or even news:blaj.blah
Does such a thing exist?
--
John Taylor-Johnston
-----------------------------------------------------------------------------
Collège de Sherbrooke:
http://www.collegesherbrooke.qc.ca/languesmodernes/
Université de Sherbrooke:
http://compcanlit.ca/