200, not 2500 right? Something like this wil work.
if ($fd = fopen("http://...", "r")) {
$stat = fgets($fd, 1024);
fclose($fd);
}
// HTTP/1.1 200 OK
$stat = substr($stat, 9, 3);
===========================================
http://badblue.com/helpphp.htm
Free small footprint web server for Windows
PHP, file-sharing, Access/Excel transcoding