Experimental autolinking

Posted Jan 17, 2004 in PHP.

PHP can be fun, eh? For comments, I have created a function that converts links starting with http:// or www. into hyperlinks automatically. I am very new to regular expressions, so it should be considered experimental for the moment. With this site being (for the most part) delivered in application/xhtml+xml, it is very easy for comments to break pages horribly.


There are no comments associated with this entry.