Inactive Links - 11/16/2002 10:01 PM
Was just wondering if there was a mod or hack to disable links from being active on a board.
$check =~ s/(^|s)(http://S+)(.|,|))?/$1<a href="$2" target="_blank">$2</a>$3/isg;
$check =~ s/(^|s)(https://S+)(.|,|))?/$1<a href="$2" target="_blank">$2</a>$3/isg;
$check =~ s/(^|s)(ftp://S+)(.|,|))?/$1<a href="$2" target="_blank">$2</a>$3/isg;
$check =~ s/(^|s)(www.S+)(.|,|))?/$1<a href="http://$2" target="_blank">$2</a>$3/isg;
code:
[qb][/qb]Codeif($string) {
$returner = qq~<a href="$orig"$target>$wording</a>~;
} else {
$returner = q! ! . $orig . q!!;
} # end if
$returner = q! ! . $orig . q!!;