PHP: value not being passed through URL
<p>i'm a beginner at web development, so i'm having a hard time on this problem,i'm trying to make a website that gets stats from any player from a game that i play, it works by typing the player's name on the textbox then when you click on 'ok' it calls a js function that calls a php function that gets the xml on the game website api then print the results , when using my local server (apache) everything runs smoothly, no errors, but when i upload the files to my host the variable is not being passed, and i'm not sure why, here's the url to my web site www.statsofnewerth.sevencut.com.br/playerStats.php, just type my username in the box "Alcartur", then it should return one of my stats, but it's just blank, i put an alert to show the nick variable and the value returned, here's the code :</p>

<p>playerStats.php</p>

<pre><code>&lt;div class="search-panel"&gt;
&lt;label&gt;Search for player:&lt;/label&gt;   
 &lt;input name="playerName" id="txt_playerName" type="text" value="" size="20" maxlength="20" /&gt;
 &lt;input name="btnPlayerSearch" type="button" value="Ok" onclick="requestPlayerData()" /&gt;
 &lt;/div&gt;
</code></pre>

<p>form.js</p>

<pre><code>    function requestPlayerData(){
    var img = new Image();
    img.src = "src/wait.gif";
    document.getElementById('wait-panel').innerHTML = "";
    document.getElementById('wait-panel').appendChild(img);
    var nickname = document.getElementById('txt_playerName').value;
    ajaxFunction(nickname);
  }

  function ajaxFunction(nickname){  
    $('#wait-panel').load("httpRequest.php?nickname="+nickname, function(html){
  alert(html);
});
}
</code></pre>

<p>and httpRequest.php</p>

<pre><code>&lt;?php
header('Content-type: application/xml');
$q = $_GET['nickname'];
echo 'nickname'.$q;
$sxe = simplexml_load_file('http://xml.heroesofnewerth.com/xml_requester.php?f=player_stats&amp;opt=nick&amp;nick[]='.$q);
$result = $sxe-&gt;xpath("//*[@name='rnk_amm_team_rating']");
print_r($result);
?&gt;
</code></pre>

<p>just remembering that in my local server it works.</p>

<p>Sry for any english mistakes, it's not my first language. Thanks in advance.</p>
