Thanks Eugene.

I'm afraid I didn't explain my self as I should.

What I want is this to be automaticaly generated in a text.
For example, in:

"Some text some text some text some text [EMAIL PROTECTED] some text some text
some text and www.mywebpage.com some text some text some text
[EMAIL PROTECTED] some text some text some text ."

I have to stract the pieces of string of mail and www to convert in links
and this is the tedious part.

Would be nice if were some smart function that recognizes it and make the
links, like Outlook Express (what I'm useing now) or other applications,
that automaticaly makes it.


"Gabriel Peugnet" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
> Does some body knows if there is a function that adds tags to a string
when
> it is an email or a web address?
>
> I want to convert
>     [EMAIL PROTECTED]
> into
>     (a href='mailto:[EMAIL PROTECTED]') [EMAIL PROTECTED] (/a)
>
> (I sustitued tags with parenthesis)
>
> It's a little tedious makeing the function.
>
> Gabriel.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to