Change the anti spam function
| From: | John Oktay Ozturk | Date: | Tue, 12 Dec 2000 15:33:16 +0000 |
| Subject: | Change the anti spam function | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-29895@lists.php.net to get a copy of this message | ||
Hello,
On the below code I want to be able replace the automatic domain name
checking to a domain name that I specify.
How can I do that.
My problem is I use 2 domains on the same IP with a hosting company
using Rewrite and when I use this script on the second domain it gives
me error message
Thanx
if (!eregi($SERVER_NAME, $HTTP_REFERER)):
MessageHeader($boardid, "Webboard antispam filter");
echo "<H1>$__CannotPost</H1>\n";
MessageFooter($boardid);
else:
$ExpireTime = time() + $ExpireInterval;