cloud - How to upload file to Dropbox through php website -


I have a website form where users can upload files by simple post method form. How can the uploaded files be run from my web server in my Dropbox account? I try to use the PHP SDK listed in dorpbox.com, but this library is not working as a web app.

  If (PHP_SAPI! == "cli") {new / exception ("This program was run from command line and not as web app. Bad value for PHP_SAPI. \ "Cli \" expected, given \ "." PHP_SAPI. "\". "); }  


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -