01-14-2008, 10:01 PM
|
#2 (permalink)
|
|
The Frequenter
Join Date: Apr 2005
Location: South UK
Posts: 483
Thanks: 51
|
Hi Gareth,
Completely un-tested, but something like the following should do the trick
PHP Code:
header('Content-type: text/plain'); header('Content-Disposition: attachment; filename="backup.sql"'); readfile($backupFile);
That should popup a download dialouge (default name of backup.sql - might want to change that to include the date or something).
Alan.
Last edited by Alan @ CIT : 01-14-2008 at 10:04 PM.
Reason: Added more info
|
|
|