$_GET in PHP and & <p>i have a problem. I have made a PHP proxy to get json data from an external server using this code : </p> <pre><code>&lt;?php $url = $_GET['url']; $ch = curl_init(); curl_setopt($ch,CURLOPT_URL,$url); $data = curl_exec($ch); curl_close($ch); echo("&lt;h1&gt;".$url."&lt;/h1&gt;"); echo (substr($data,0,-1)); ?&gt; </code></pre> <p>But i have to pass this link "http://isohunt.com/js/json.php?ihq=ubuntu&amp;sort=age" and since i have an &amp; in there my php script can't properly evaluate the link. How i solve the issue?</p>