PHP Classes

File: dbb/Dbb_config.php

Recommend this page to a friend!
  Classes of Ettore Moretti   PHP DropBox Backup Uploader   dbb/Dbb_config.php   Download  
File: dbb/Dbb_config.php
Role: Configuration script
Content type: text/plain
Description: Application script
Class: PHP DropBox Backup Uploader
Backup local files as a ZIP archive to Dropbox
Author: By
Last change: Create Dbb_config.php
Date: 2 years ago
Size: 1,473 bytes


Class file image Download
 * Dropbox App Configuration

//The user ID belonging to the user with which to upload, this must be inserted in the users table db DBB
//the key of your application dropbox
define('Dropbox_key','<Dropbox key>');
//the secret key of your application dropbox
define('Dropbox_secret','<Dropbox secret>');
//the app name of your application dropbox
//the link redirects set in the application dropbox
define('Dropbox_redirect','http://<your host path>/DropboxBackup/dbb/Dbb_landing.php');
//the link to the main php page that instantiates Dbb class
define('myIndex','http://<your host path>/DropboxBackup/index.php');
//the DROPBOX path where the file will be loaded
//Select the dropbox upload type in case of equality in filenames, use one of this ( add;force;upload; )

 * Backup Configuration

//the local path where are the backup files
//you want to delete all the files after upload?
//you want all the files to be zipped before uploading?

//Note : to protect your zip with password you need php 5.6.0 or higher.
//want to protect the zip file with a password?
//the zip password