Re: making e-mail link

From: Date: Sat, 30 Jun 2001 07:18:24 +0000
Subject: Re: making e-mail link
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-55683@lists.php.net to get a copy of this message
On Fri, 29 Jun 2001 01:28, richard greene wrote: > Bill > > I grabed this function from the www.php.net manual and it works great, it > covers all your bases, except that it will show you > http://www.something.com for > http://www.something.com or www.something.com. > If somone knows how to modify it so it would only show www.something.com > when linked, that would be perfect. Dohh! if( !ereg( "http", $text ) ) should be if( !ereg( "ftp|http", $text ) ) Cheers, Brad -- Brad Hubbard Congo Systems 12 Northgate Drive, Thomastown, Victoria, Australia 3074 Email: brad@congosystems.com Ph: +61-3-94645981 Fax: +61-3-94645982 Mob: +61-419107559

« previous php.general (#55683) next »