File Download
| From: | Gerard Samuel | Date: | Mon, 24 Dec 2001 18:56:23 +0000 |
| Subject: | File Download | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-78679@lists.php.net to get a copy of this message | ||
Hey all. Im trying out a script that where I can download the contents of a database as a dump.
On a large database, the end get truncated. ie, there were still maybe 6-7 more tables more till the end out of maybe 100 tables.
The behaviour is erratic. It is not consistent with where the dump gets truncated.
This is in the file if it means anything.
header("Content-disposition: filename=database.sql");
header("Content-type: application/zip");
header("Pragma: no-cache");
header("Expires: 0");
I never used php to download files, before, so I haven't a clue.
Merry Christmas all..