Dropbox Uploader Demo

Dropbox Uploader Demo

upload($tmpFile, $_POST['dest']); echo 'File successfully uploaded to your Dropbox!'; } catch(Exception $e) { echo 'Error: ' . htmlspecialchars($e->getMessage()) . ''; } // Clean up if (isset($tmpFile) && file_exists($tmpFile)) unlink($tmpFile); if (isset($tmpDir) && file_exists($tmpDir)) rmdir($tmpDir); } ?>
Dropbox e-mail
Dropbox password
Destination directory (optional)
e.g. "dir/subdir", will be created if it doesn't exist
File