and I somehow buggered it up. The info I found said to do the following.

header ("HTTP/1.0 404 Not Found");

This didnt work though and Apache returned an Internal Server error. I looked up the exact responce. Here it is;

Wed Jul 19 20:10:19 2000] [error] [client] malformed header from script. Bad header=HTTP/1.0 404 Not Found: /var/http/cgi-bin/php-3.0.7

If you have any thoughts, please throw them at me. Thanks in advance,