urls_clickable() bug
Brought to you by:
russlndr
If you were to try and post a message such as
",asdhjl"
it comes up with illegal string index errors as the
function urls_clickable($string) find "h" in the
string and then trys to access the string index upto
h+6..
to fix this, replace
if(strtolower($string[$n]) == 'h')
with
if((strtolower($string[$n]) == 'h') && ($n < (strlen
($string) - 6)))
Jamie