Emmanuel Décarie wrote: > Is it possible under IIS 5 with PHP 4.2.2 running as a CGI to get the > HTTP status code? Yes. http://pear.php.net/manual/en/package.http.http-request.response-eval.php If you don't want to use the PEAR class, maybe their source code can help you. Scott Mattocks