When I am using
file_get_contents($url), and when I echo this, it returns an exotic character.
But it can be seen only in some websites and works correctly in other websites:
My code is:
<?php header ( "Content-Type: text/html;charset=utf-8" ); $url ="http://www.varzesh3.com/news/1307290"; echo $go_to = file_get_contents($url); ?>
According to PHP manual:
you can use this code, if you have problem with file_get_contents!