php file list with forced download

From: Date: Tue, 17 May 2005 00:49:26 +0000
Subject: php file list with forced download
Groups: php.general 
Request: Send a blank email to php-general+get-215348@lists.php.net to get a copy of this message
Hi, I just have a simple question that some of you might be able to help me with. Was coding a directory listing for several dirs on a client's server that would list the files and allow users to download them. The question is, is there a way to force download of all files, regardless of their types? i.e., if the list constains a .jpg, the browser will show it instead of asking the user to download. Also for .html, gifs, etc. Thanks. Pag

« previous php.general (#215348) next »