anyone know how to backup a mysql database using PHP? i want to write one php function to allow admin to download the mysql database backup (mysqldump maybe?) .. and how to restore the database backup from web based admin?
i am using a shared server and the php scripts executed under the www-data user.. thank you..