Test connection to broker from website PHP

 

Hello, 


Is there exists some simple solution to test connection on broker before user save hes data to database.


User have a form to enter, broker name, account number, password.


How i can communicate with broker ? Send, get response ?

 
jozo1234:

Hello, 

Is there exists some simple solution to test connection on broker before user save hes data to database.

User have a form to enter, broker name, account number, password.

How i can communicate with broker ? Send, get response ?


DON'T DO THAT!

Why on earth users/traders will be willing to give you their Broker's Account Number and Password??

Please, explain to us in more details why are your trying to do that?

;)

 

I guess s/he is trying to display all of the trades on the website, like what sellers of expert advisor have on mql website or fxblue.com type of thing.

 
Minions Labs:


DON'T DO THAT!

Why on earth users/traders will be willing to give you their Broker's Account Number and Password??

Please, explain to us in more details why are your trying to do that?

;)

Because i am making trading software, website to be precise and offers service to run mt4 terminals on mine server. It works like this :

- User register on a website

- After registration he need to enter MT4 data so i can run terminal ( mt4Servermt4Usermt4Password )

But before he save data to db i want to try to connect to broker to see if all 3 values are correct before i save it into db, to avoid problems with connecting to mt4.

And after he save data code automaticly runs terminal.

 
Bump
 
Anyone ?