On 6/7/06, Rob W. <[EMAIL PROTECTED]> wrote:
I got the fix, strstr didnt work right because it was relaying more than
just what I was thinking.
Here is the fix.
$value=array(strstr($block, $address));
foreach ($value as $var) {
$block_total_ip++;
}
How can this work? $value will have 1 element no matter what,
so $block_total_ip will always be incremented once. The above
code is equivalent to just:
$block_total_ip++;
Rabin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php