I want to make a php script that outputs a file in a secure dir (outside of web root), this scripts checks the permisions of the user to download the file, i use phplib, and my probmem is when i call it from a browser the filename to save is set always to test.php, can i send a header to specify the name of file to save, or other form to make this. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]