Hi! I test using readfile($filename) and that's ok. When I'm logged in with "incorrect user" I get permission denied... Is there any way of retrieving the "permission denied" code? when using readfile? (or any other error regarding to readfile-function? Best regards /Gustav Wiberg No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.485 / Virus Database: 269.13.12/997 - Release Date: 2007-09-09 10:17 -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php