Witam serdecznie,
Mam kod który pobiera dane z innej strony w formacie plików ico natomiast ja muszę wyświetlić to w utf-8 w jaki sposób mogę to zrobić?
<?php $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, "http://praca.gratka.pl/pracownik/szukaj/lista/re_15__fr_Kalisz.html"); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); $result = curl_exec($curl); curl_close($curl); //links $baseUrl = "http://praca.gratka.pl/"; { foreach ($links[0] as $link) { { foreach ($links[1] as $index => $link) { $href = $baseUrl . $link; print " <img src='images/znak.png'> <a href=\"$href\" TARGET='_blank'>".$links[2][$index]."</a><br />"; } } } } ?>
<?php include 'inneoferty/pracagradka.php'; ?>