PHP Classes

File: index.php

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

Contents

Class file image Download
<?php
session_start
();
require_once
'dbb/Dbb.php';

$Dbb = new Dbb();
   
$Dbb->dropbox_auth();

if(
$Dbb->dropbox_isConnected()){
   
//Start Backup
   
$uploadResult=$Dbb->backupStart();
    echo
"<pre>";
   
print_r($uploadResult);
}