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 ([EMAIL PROTECTED]) 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:[EMAIL PROTECTED]) 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 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php