Having an issue with server requests
My technician from the API indicates that my server is adding extra variables IDs when request is sent to them, therefore returning en error message. The coding is fine and was tested on a different server and it works fine. It was also working fine before on my server but since last week the error message started showing. I opened a ticket: 2282792 but all i got was a general answer. Could you pls look into this further as my website is not functional anymore. Thanks
Something on the server had to have changed for the script to start producing errors all of a sudden. What has your developer said about the script not working? Here is some code I threw together which essentially does the same thing you are trying to do but without putting it into an xml format.
$country = unserialize(file_get_contents('http://www.geoplugin.net/php.gp?ip='.$_SERVER['REMOTE_ADDR']));
echo $country['geoplugin_countryCode'];
Best Regards,
TJ Edens
Correct it showed USD as my currency and did not provide an error. I tried the website on 3 devices on two different networks and was not able to replicate the issue.
Best Regards,
TJ Edens