I have an issue where even if I replace the spaces to %20 and get this content the ultimate url the browser gets turns the \"%20\" into \"%2520\"
Here\'s my code, an
$song = $_GET['song']);
$url = "http://www.lyrdb.com/lookup.php?for=fullt&q=";
echo "list url is " . htmlentities($url . $song) . "<hr>";
$content = file_get_contents($url . urlencode($song));
echo $content;
$data = json_encode($_POST);
$url = "http://www.index.com?data=";
echo file_get_contents($url . urlencode($data));