cvs: php-bugs-web /rss search.php

From: Date: Sun, 07 Jan 2007 10:12:32 +0000
Subject: cvs: php-bugs-web /rss search.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-33718@lists.php.net to get a copy of this message
bjori Sun Jan 7 10:12:32 2007 UTC Modified files: /php-bugs-web/rss search.php Log: This file evidently includes functions.inc http://cvs.php.net/viewvc.cgi/php-bugs-web/rss/search.php?r1=1.5&r2=1.6&diff_format=u Index: php-bugs-web/rss/search.php diff -u php-bugs-web/rss/search.php:1.5 php-bugs-web/rss/search.php:1.6 --- php-bugs-web/rss/search.php:1.5 Sun Jan 7 08:17:40 2007 +++ php-bugs-web/rss/search.php Sun Jan 7 10:12:32 2007 @@ -195,15 +195,3 @@ } } -/* Email spam protection */ -function spam_protect($txt) { - $translate = array('@' => ' at ', '.' => ' dot '); - - /* php.net addresses are not protected! */ - if (preg_match('/^(.+)@php\.net/i', $txt)) { - return $txt; - } else { - return strtr($txt, $translate); - } -} -

« previous php.mirrors (#33718) next »