nithinpiratez: How to call a php file which is hosted in my server? How to pass post variables from mql5 ea to php?
By using the WebRequest function. You should also do some research on the HTTP protocol.
Documentation on MQL5: Network Functions / WebRequest
- www.mql5.com
WebRequest - Network Functions - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
Fernando Carreiro #:
By using the WebRequest function. You should also do some research on the HTTP protocol.
By using the WebRequest function. You should also do some research on the HTTP protocol.
Very easy to do it using WebRequest function!
Perfect answer.
just do not forget to to ADD the destination URL on the MT5 [ Configuration -> Tools -> Options } under field "Allow WebRequest for Listed URL] by adding the destination URL
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi,
How to call a php file which is hosted in my server?
How to pass post variables from mql5 ea to php?