PHP Change encoding from “file_get_contents” | prosoxi.com

Categorized | PHP

PHP Change encoding from “file_get_contents”

$requestAddress = “your XML url”;
$xml_str = file_get_contents($requestAddress,0);
$xml_str = mb_convert_encoding($xml_str, ‘UTF-8′, “iso-8859-7″);

//mb_convert_encoding(‘The URL’, ‘The URL Encoding’, ‘Your encoding’)



Leave a Reply

Domain Finder

Domain Finder Tool by Truste.gr

read more for domains

Advertisers

Wedstar all about wedding - gamos - γαμος
Κατασκευή ιστοσελίδων
Domain Names | Hosting

Adds