Re: Converting URL's to hyperlinks.
| From: | LuKreme | Date: | Tue, 08 Sep 2009 14:59:39 +0000 |
| Subject: | Re: Converting URL's to hyperlinks. | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-297792@lists.php.net to get a copy of this message | ||
On 4-Sep-2009, at 14:49, Daevid Vincent wrote:
I've used this code for about 6 years now and have yet to find emails that it didn't work for. If someone has some funky (whacky) RFC extremity,It's attitudes like this that make the web such a wonderful place. When I encounter a website the rejects my email address for being 'invalid" I simply NEVER GO THERE AGAIN. And your preg-replace would reject every email address I ever input into any web form. As a note, this will also fail on domains like http://✪df.ws/, but I guess Daring Fireball is an 'edge case' funky whacky RFC extremity… -- and I lift my glass to the Awful Truth / which you can't reveal to the Ears of Youth / except to say it isn't worth a dime