note 4683 modified in header by ronabop

From: Date: Sun, 01 Oct 2000 06:55:28 +0000
Subject: note 4683 modified in header by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-5758@lists.php.net to get a copy of this message
To send a binary file and tell a suggested filename to the browser, use: header( "Content-type: application/octet-stream" ); header( "Content-Disposition: attachment; filename=\"suggested-filename\"" ); Warning: the filename have to be quoted. (RFC 2616) (remove the 'Z' in my email to answer me) http://www.php.net/manual/function.header.php

« previous php.notes (#5758) next »