Lyleyboy Posted January 22, 2007 Share Posted January 22, 2007 Hi all,I have a backup program in the works. I have a zip file sitting in a folder and I would like to automatically dump it into a folder on my pc. i.e. c:\backups.Is there a way. Im sure there is.Thanks Link to comment https://forums.phpfreaks.com/topic/35267-automatically-download-a-file/ Share on other sites More sharing options...
genericnumber1 Posted January 22, 2007 Share Posted January 22, 2007 Information about zip in php...http://www.php.net/manual/en/ref.zip.phpIf you want to just copy the file itself without unzipping you could always just use file_get_contents() and paste the contents into a file you create in the new location. Link to comment https://forums.phpfreaks.com/topic/35267-automatically-download-a-file/#findComment-166605 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.