开发者

Automatically send SQL table contents to an email address

开发者 https://www.devze.com 2023-01-29 05:37 出处:网络
I\'ve setup a flash game that reports scores via php to a table in a MySQL database that I access through phpMyAdmin.

I've setup a flash game that reports scores via php to a table in a MySQL database that I access through phpMyAdmin.

I'd like to be able to set it up so that at 10am on the 22nd December for eg, the system emails me a backup of the database so I have a hard copy of the data on the game's closing date.

Is this possible? Would anyone be able to point me in the right direction?

Thanks a lot, 开发者_高级运维-Ben


If you are hosting on a linux server you can use cron to run a php script that will send the email with the info that you need. You can find more info here

If you are on a windows server you can use the task schedule. You can read about it here and here.

0

精彩评论

暂无评论...
验证码 换一张
取 消