#!/usr/local/bin/php
Warning: main(/home/hack/admin/config/config_zzask.php) [function.main]: failed to open stream: No such file or directory in /home/zzask/public_html/zzask.com/admin/idx_u/apply_blacklist.php on line 3
Warning: main() [function.include]: Failed opening '/home/hack/admin/config/config_zzask.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/zzask/public_html/zzask.com/admin/idx_u/apply_blacklist.php on line 3
SCRIPT NAME : apply_blacklist
Author: Joel Verks jverks@hackcandy.com
This script is intended to be used for zzask.com as a cron job to match the
category link harvester tables against the blacklist.
Any records that contain blacklisted urls
will be toggled to 'blacklisted' in the 'enable' field.
To use, call like this :
./apply_blacklist.php
-c - update enable flags in just the category table indicated by
-a update blacklist flags in all category tables
-v echo out debug messages