PHP script returns error/nothing when fetching data with AJAX
<p>I have a PHP file called 'myProxy.php' sitting on my server that looks like this:</p>

<pre><code>&lt;?php
 echo "text";
 exit();
?&gt;
</code></pre>

<p>When I try to get that string from the file with an AJAX call that looks like this: </p>

<pre><code>$.ajax({
    url: "http://www.mydomain.com/myProxy.php",
    type: "GET",
    success: function(data) {
     alert("Horray!");
  }
 });
</code></pre>

<p>The script turns absolutely nothing and I get a red error icon in the Firebug console. Does anyone know what might be causing this? Perhaps a setting is not set somewhere?</p>
