#!/usr/bin/php (.*?)<\/span>/", $data, $total_match); $total = $total_match[1]; /////////////////////////////////////////////// // Display results // // Examples: // Current: $current // Total: $total /////////////////////////////////////////////// echo "Current: $current - Total: $total\n"; /////////////////////////////////////////////// // Clean up cookie /////////////////////////////////////////////// unlink($cookiefile); ?>