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.net    Covalent Technologies, Inc.

On Mon, 16 Jul 1979, [EMAIL PROTECTED] wrote:

> 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.com>www.mysite.com</a>
>
> is there a script or function some place I can use to do this? Or must I try
> to write something of my own?
>
>
> Susan
>
>
> --
> [EMAIL PROTECTED]
> http://futurebird.diaryland.com
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to