Hi,
many thanks for the code!
It does store the XML response, but apparently I still have a problem.
The 3rd party script that I'm invoking, http://www.myotherserver.com/somescript.asp, has IP restriction.
meaning it will return "OK" response (and execute) only if the request was sent from a specific IP, for security matters.
I've configured my server IP (maching IP) to be allowed, but when I run this nice PHP script, I get an "INVALID_IP" response.
I guess that the actual referring IP isn't the machine's IP, but my local IP (the user IP).
So I wonder how do I make the PHP script to call this 3rd party script from the server IP, and not from the user IP....?
any idea?