I'm working on a web app that talks to an API which authenticates requests by checking what IP they originated from. I've registered my test server with the API, but when I make a request, I get an XML response that says "Invalid IP."
To demonstrate the issue, I've made a bare-bones page which is just a button that when clicked makes a sample request and displays the response in the console: http://beta.pacificcoasttitle.com/test.html
I'm making the request using AJAX and a PHP proxy since its cross domain -- could this have something to do with the problem?
PHP proxy looks like this:
<?php
$file = file_get_contents($_GET['requrl']);
echo $file;
?>