Download MetaTrader 5

MQL4 HELP - Include WinHTTP.dll for implementing authentication - page 2

To add comments, please log in or register
MQL5.community allows users to store their source codes in MQL5 Storage. Try it!
gchrmt4
356
gchrmt4 2014.02.27 08:40  
ydrol:
hi, maybe but I think the word "authentication" in the subject is significant?
(As Thirteen is saying, "authentication" could just mean "I want to send a username and password in the URL, in any format e.g. just appended in the querystring, and return some simple success/failure response in the HTTP body". It doesn't have to imply use of Basic authentication. Thirteen and I both seem to be assuming that the OP means "do authentication over HTTP in some basic fashion", not specifically "do Basic authentication".)
Emiliano Graziosi
40
Emiliano Graziosi 2014.03.21 18:31  

Hi all,

first of all sorry for being out of the discussion so far, it completely passed out of my mind and the forum didn't send to me any "notification" about the answers.

By the way, finally I solved it quite easily once I read the following discussion: https://www.mql5.com/en/code/10121

In particular I implemented a the call of a GET method to a php file and passing in the url the search field (i.e.: MT4 account number, userID, MT4 account type). The php server performs a query on a DB and returns the result through an echo command. The answer is trapped as result of the GET method and it's used to check if the user is authenticated or not.

Thanks to all for you hints and support!

Best regards!

12
To add comments, please log in or register