Re: Automatically creating links from text

From: Date: Wed, 16 Apr 2003 18:17:54 +0000
Subject: Re: Automatically creating links from text
Groups: php.general 
Request: Send a blank email to php-general+get-144168@lists.php.net to get a copy of this message
----- Original Message ----- From: "nooper" <nooper@mail.ru> To: <php-general@lists.php.net> Sent: Wednesday, April 16, 2003 11:45 AM Subject: [PHP] Automatically creating links from text > Hi, > Is there any way for php to automatically create links for any word that > starts with http:// ? > I created a sort of scratchpad for myself, where I can take notes in class, > and php saves them in a DB. If I enter a URL, I would like for the URL to be > 'clickable' when I view the text at a later time. Is there a php function > for this which I have just not noticed, or any other function for this, that > you might have come across? > -Matt Please scroll to the user contributed notes below for an example.. http://www.php.net/manual/en/function.preg-replace.php - Kevin

« previous php.general (#144168) next »