Hello,
I'm working on a script that will dump a MySQL database to a file with exec(mysqldump [args]), then will let the user download the database. The dump may take a few seconds, so I want to user to be forced to wait before downloading the file.
How can I tell my script to wait $x seconds before performing the next step in the script?
Even better, would be the ability to wait until the dump is done. Is this possible with PHP?
Thanks. 🙂