url question.



I'm writing a guest book where users can post comments.

When the text data is displayed on html page, I'd like to convert the
url's to clickable links, using some smart technique.

eg.

Hi I found this link! http://news.bbc.co.uk

(the link should be clickable)

or anything prefixed with www. should be clickable

Is there any built in php function?

Thanks
Mike

.



Relevant Pages

  • Re: Using a variable for a hidden input value
    ... > Where is the php choking, when writing the html or when the form is ... Prev by Date: ...
    (alt.html)
  • Re: ASCII convention
    ... >>> You seem to suggest that html is acceptable in newsgroups. ... >> You don't seem to understand what I'm writing about. ... Prev by Date: ...
    (sci.lang)
  • Re: Cisco 500-24 switch not showing trends
    ... I have version 1.50_05 - which is the latest as of this writing. ... wouldn't the application specify a prefered version ... in the HTML? ... Prev by Date: ...
    (comp.dcom.sys.cisco)
  • Re: Thoughts on mod_lisp
    ... writing templates in HTML and then inserting active ... > HTML with a static file than it is if you have to recompile and reload ... just as easy as C-x C-s, and I find writing lhtml easier than writing ...
    (comp.lang.lisp)
  • Re: why does screwed up source code work?
    ... I find this whole discussion a bit puzzling, because although it is clear that writing HTML has nothing to do with programming that's an objection to calling HTML writing programming. ...
    (alt.html)