natewhite.com

thoughts on technology and culture, politics, and information design

Monday, September 11, 2006

make_clickable function

I found a useful PHP snippet for making http:// and mailto:// plain text links into clickable urls. I've tested it in a variety of cases and it seems to work well.

http://rasher.dk/source/strings/makeclickable.php

Hope this is useful to somebody else.