Httpstatus is a project mainly written in PHP, it's free.
Get the http status you ask
Ask for an http response status code... and get it :)