On Tue, 12 Oct 2004 09:17:30 -0700, ApexEleven <blackliquid@xxxxxxxxx> wrote: > Why use fpassthru? I just use readfile, is there a difference? > The main difference is with fpassthru you never show to the user the exacr location of the file, so must use the script to download it. In example, you can control hot-links from other sites, php access control to the file, and so on. Also, you can put the file outside the apache documents directory, so the file will never be reached in other way: if you want the file, you have to use the script wich controls the access to it. Regards, Jordi. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php