Would that work on *nix machines and Windows machines? I can't try as I haven't anything set up on the internet, but I've tested that command on my windows computer (winXP) with a chdir command before it to change to the bin dir in mysql folder, and that execution works, but on the net, would that work on a server?PHP Code:$do = shell_exec("mysql -u$dbusername -p$dbpassword $dbname < $backupfilepath");






.

Bookmarks