PDA

View Full Version : CCcamFilter (block OLD/FAKE cards) in CCcamInfoPHP



me1960
11-07-09, 23:01
I've put together a quick modification to CCcamInfoPHP which formats a blocking list specific to your peers.

This should be much shorter than the global block lists and can be updated to suit your situation as often as you like.


###############

CCcamInfoFilter

###############

These modifications generate a block line specific to your peers to filter "OLD" and "FAKE" cards to be added to the C: Lines in CCcam.cfg.

Instructions for use:
---------------------

1.) Click the newly added "Filter" button in CCcamInfoPHP.

2.) A page will appear with a box containing a pre-formatted line.

3.) Select and copy this line and insert into CCcam.cfg at the end of every C: Line

Example:

If a C: Line is C: friend.dyn!dns.org 12000 user pass no {0:0:3} and the block line generated is ,500:20a10,500:20a20,500:20a30,d02:8c,d03:c0,d03:c 4 the C: Line becomes C: friend.dyn!dns.org 12000 user pass no {0:0:3,500:20a10,500:20a20,500:20a30,d02:8c,d03:c0 ,d03:c4}

Installation:
-------------

1.) Locate the directory for CCcamInfoPHP containing config.php. This is usually %programfiles%\CCcamInfoPHP\htdocs.

2.) Back up the file meniu.php by renaming it.

3.) Copy the modified meniu.php and filter.php to the same folder.

If you have CCcamInfoPHP running on other than the default host:port of 127.0.0.1:4001, you will have to make appropriate changes to $url in filter.php.


download : http://rapidshare.de/files/47822556/CCcamInfoFilter.zip.html