English > Development
GetLoginInfo
(1/1)
geggi:
I'm currently working on a new script for moviepilot.de.
It works fine for data I can parse without being logged in, yet I want to log in to access my personal rating of the movies.
I failed to use the GetLoginInfo(URL, params) function. What is the syntax of the params string?
Assuming my username and password are myusername and mypassword. The login form at http://www.moviepilot.de/login requires "username" and "password".
What params string must I use? Setting 'params := "username=myusername&password=mypassword"; ' did not work.
geggi
nostra:
What did you set for URL?
geggi:
BASE_URL = 'http://www.moviepilot.de';
URL := BASE_URL + '/login';
nostra:
Try adding a slash to URL, like this:
--- Code: ---URL := BASE_URL + '/login/';
--- End code ---
or
Adding ? before params, like this:
--- Code: ---?username=myusername&password=mypassword
--- End code ---
Navigation
[0] Message Index
Go to full version