![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
I am just trying to do a hello world programme with WebRequest and finding it a bit difficult. Send a post request to a php page and return the response. I have searched the forums for examples and there is little. The one MT uses does not even compile. Not sure why they can't just give a simple example. Anyway. Any help would be appreciated, as well for others. I get the feeling I am not the only one, judging by comments on forum posts.
Here is what I have, the results of this is that it does go to the URL and executes the PHP, the issue is that the $_post yields nothing. I do see in the header the content length change when I adjust the input - just no data. There must be a secret to this data input field of WebRequest. I tried to play with refer, etc....it does nothing. Simple defaults seem to work the same.
EA script.
int init()
{
}
The PHP: xyz.php
<?php
?>