Here is some code I'm using in PHP to work with the BlackIce Defender attack list: (Note the "\")
<?php
// Open and read "c:\Program Files\Network Ice\BlackIce\attack-list.csv"
// Suck the whole CSV file into an array called $attackdata
$attackdata = file("c:\Program Files\Network Ice\BlackIce\attack-list.csv", "r");
$ignored = array_shift($attackdata); // Ignore the first two lines of comments
$ignored = array_shift($attackdata);
$rowcount = count($attackdata) - 1; // We want relative to 0 not 1
...etc...
?>
-- Michael
Darkstreak Consulting
www.darkstreak.com