Take a look at
http://www.php.net/manual/en/function.ereg-replace.php
There's a bit of sample code up there that may help...
-bob
--
Bob Scott Web / DB Developer
http://www.covalent.netCovalent Technologies, Inc.
On Mon, 16 Jul 1979, [EMAIL PROTECTED] wrote:
>
Here's a function I use on a text field..
function activateUrls( $s ) {
$o = '';
while ($s != '') {
$url = '';
$temp = split('://', $s, 2);
if (count($temp)>1) { # '://' found; now extract schema
$s = $temp[1];
$temp2 = split('[^[:alpha:]]', strrev($temp[0]), 2);
2 matches
Mail list logo