Re: Emergency! Performance downloading big files

From: Date: Wed, 02 Dec 2009 05:03:03 +0000
Subject: Re: Emergency! Performance downloading big files
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-300195@lists.php.net to get a copy of this message
Can someone explain how this would work? It's a Windows web server running IIS and the files are saved to a drive that is outside the web root. PHP is grabbing each filename from a MySQL database, along with the URL and credentials for it, and ends up with a url something like this: https://server.com?filename=filename.pdf&user=xxx&pass=xxx&something=xxx On Dec 1, 2009, at 2:55 PM, Ashley Sheridan wrote: > Why not put the files behind a secured directory. Apache will handle > that, so PHP needs not be involved. Once logged in, they can download > loads without it being asked for again.

« previous php.general (#300195) next »