2013年1月27日 星期日

[PHP] MySQL Backup by GMail

[Chinese]
        先前已經介紹過有一個好用的MySQL資料庫備份工具(使用PHP):MySQLDump。但是預設的寄信函式,是透過SMTP伺服器寄信,這對於沒有SMTP伺服器的使用者而言,可就傷腦筋了。原先我有找到一篇教學,使用GMail的SMTP伺服器做備份,可惜連結已經失效了。
筆者只好自行撰寫,由於程式碼使用GPL授權,基於分享的精神下,便公開給各位。

        程式碼下載處:請按我

[English]
I've introduced an useful backup tool for backuping MySQL databases (using PHP): MySQLDump. However,the default send mail function uses the SMTP server to send mails, and it may cause some problems for the users without SMTP servers. Initially, I've found one tutorial for teaching that how to backup MySQL databases by GMail SMTP server, but the link of source code is unavailable. Thus, I rewrite it by myself. Because the project uses GPL license, I share my project with all of you.

The download link: Click Here.

沒有留言:

張貼留言