Re: pattern matching urls

From: Date: Tue, 27 Aug 2002 04:46:12 +0000
Subject: Re: pattern matching urls
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-114217@lists.php.net to get a copy of this message
I spotted a class or function on phpclasses.org a few days back that does this. Justin French on 28/08/02 4:40 AM, tux (tuxen@gimped.net) wrote: > > > > hey all, > > Just wanting some advice on something im doing, basically im storing > news into mysql and what i want to do is, when the news is displayed, if > a url is in there ie(http://www.blahblah.com OR > mailto:person@domain.com) it will automatically be displayed as > a link, > im considering using preg_match for this but i was wondering if there is > any other function already designed for automatically detecting urls? > > cheers, > > Jo >

« previous php.general (#114217) next »