Why I got this error :
failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
Code :
$Name = 'Teàst';
$result = file_get_contents('http://ift.tt/1DjDRBF' . $Name . );
But when I try echo $result; I got the link and its work fine. And when I try $Name = 'Teast'; (without "à" symbole) its work fine. Soo the problem is names with symboles (é è à ...). How to fix it please ?
Aucun commentaire:
Enregistrer un commentaire