[PHP] auto link?

2001-07-16 Thread [EMAIL PROTECTED]
On Ray's advice I've given up on letting the users put html into my form. But I would like any http:// type addresses they include to be turned into hyper links: a href=http://www.mysite.comwww.mysite.com/a is there a script or function some place I can use to do this? Or must I try to write

RE: [PHP] auto link?

2001-07-16 Thread Chad Day
$o; } Hope this helps, Chad -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, July 16, 1979 4:01 PM To: [EMAIL PROTECTED] Subject: [PHP] auto link? On Ray's advice I've given up on letting the users put html into my form. But I would like any http

Re: [PHP] auto link?

2001-07-16 Thread Bob Scott
Take a look at http://www.php.net/manual/en/function.ereg-replace.php There's a bit of sample code up there that may help... -bob -- Bob Scott Web / DB Developer http://www.covalent.netCovalent Technologies, Inc. On Mon, 16 Jul 1979, [EMAIL PROTECTED] wrote: