I'm not sure if I'm right here, but I've got the following problem: I was going to set up my own errordocument using a .htaccess file which has: ErrorDocument 404 /error404.php It works quit fine for .html files but has no effect in php files. Any clue for me? Lars -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php