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 -

python - Calculate STD manually using Groupby Pandas DataFrame -

java - @PluginTarget(Node.class) not registering as neo4j plugin -