hi, I put a file "setup.exe" in a directory "downloaddir\" I want to build PHP code, so that only registered users are able to download the file. How to make the directory / files only available to registered users using PHP code? (So that other users cannot download the file using direct url "http:\\www.abcd.org\downloaddir\setup.exe" ) TIA Rian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php