PHP Dropbox Website Backup Wordpress

How to Backup Website data Automatically to Dropbox?

Automatically backup website data to Dropbox using PHP code. Website data should be backuped up frequently to prevent years work being lost due to hacker attacks, data corruption due to hardware issues. Use this code that explains basics about how a file can be uploaded to Dropbox using PHP.