Open specific URL

 

Hi!

Ok, basically, I need to know how to open a certain URL, so I can send some information through it (the other end is going to receive that information through

PHP's GET method).

So, the idea is opening an URL using a String. How can I do this?

Thanks!

 
 

I don't think so...

The problem is that I have to send a whole file every time I use FTP. So it would be a lot of work storing the info in the file every time I have to send new stuff.

Besides, I am sending just little pieces of info, such as the profit of certain number, and stuff like that.

I actually found, a couple months ago, an expert with a method in which I could pass a string as parameter, and it would open the URL... so I just had to build the string

such as

str = "http://address...?" + OrderProfit

and the other end would receive it with the GET method.

Also, another problem with FTP is that I was specifically asked to pass the information through the URL, so I don't know if they would like the change xD

I will still tell them about this idea.

Thank you!

 

Note on the previous comment:

I had to reinstall MetaTrader, and that expert I found was lost :(

 
changowero:

I don't think so...

The problem is that I have to send a whole file every time I use FTP. So it would be a lot of work storing the info in the file every time I have to send new stuff.

Besides, I am sending just little pieces of info, such as the profit of certain number, and stuff like that.

Ah I see . . .

Does this help ? https://www.mql5.com/en/forum/103484

 

Woa! That's exactly what I was looking for =D

Thank you very much!

Reason: