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
$data = json_encode($_POST); $url = "http://www.index.com?data="; echo file_get_contents($url . urlencode($data));