0

I have to find a solution for an automated login into Dropbox. I'm trying to load the html code with

<?php $html = file_get_contents('https://www.dropbox.com/login'); ?>

Now I use str_replace() to set the value for the E-Mail and password. Also I cange the formular action from "/login" to "https://www.dropbox.com/login". Now I load my page and see the Dropbox-login filled with the right data. If I click on "Login" and it say Error "403". I know, Dropbox login requires some kind of key that is written in a hidden input field and somehow file_get_contents() doesn't deliver a valid key. Can you help me?

4

1 回答 1

1

不要那样做,改用 API: https ://www.dropbox.com/developers

于 2013-06-12T15:45:04.340 回答