iamcal.com

lib_autolink - PHP HTML link formatting

lib_autolink finds URLs in HTML that are not already links, and make them into links.

You can grab a copy from the master branch on github, or just download a zip file.