RE: [PHP-DB] folder creation in php
| From: | Bastien Koert | Date: | Wed, 13 Oct 2004 03:20:50 +0000 |
| Subject: | RE: [PHP-DB] folder creation in php | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-36767@lists.php.net to get a copy of this message | ||
use the headers
header("Content-Length: ".filesize($filepath));
header("Content-type: application/octet-stream");
header("Content-disposition: $attachment filename={$newfile}");
header("Content-Transfer-Encoding: binary");
readfile($filepath);
bastien
From: "Adil" <aasheer@draftnet.com> To: php-db@lists.php.net Subject: [PHP-DB] folder creation in php Date: Tue, 12 Oct 2004 14:28:10 -0400 Here's what i'm trying to do in php and a mySQL database: I want a button on a page that if clicked it launches the browser's or OS's "Save As" window, allowing me to specify where to save my file and/or create a new folder thx in advance Adil.. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php