404 Error/PHP script question

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

I would like to have all requests for a domain handled by a PHP script.

The first way of doing it that came to my mind is to set the 404 error page
to the script, and have header('HTTP/1.0 200 OK'); in the script to prevent
Apache from sending 404 headers.

Is there a better way to do this?


Site Timeline