Re: [PHP] protecting downloads with php

2002-05-11 Thread Steve Overall
//www.php.net/manual/en/function.header.php and http://www.php.net/manual/fi/function.fpassthru.php You can download your own copy of the PHP manual from http://www.php.net/download-docs.php and a Windows help version from http://weblabor.hu/php-doc-chm/ All the best, Steve Overall - Original Mes

Re: [PHP] protecting downloads with php

2002-05-11 Thread Steve Overall
ile_extension == 'jpg'){ header("Content-type: text/html"); header("Content-Disposition: inline; filename=$f"); fpassthru($file_output); } if($file_extension == 'wps'){ header("Content-type: application/msworks"); header("Content-Disposition: