$date = time();
$alias =Applications/XAMPP/bin/php;
$handle = fopen($alias.'db-backup-'.$date.'-'.'.sql','w+');
fwrite($handle,$return);
fclose($handle);
I don't know how to change or implement a path when I export my database for backup. Here is my code for export.
Aucun commentaire:
Enregistrer un commentaire