<?php
header('Content-type:text/html; charset="utf-8"'); $url = 'http://10.32.41.194:8098/regions/list'; $content = file_get_contents($url);
// $content = iconv('gbk', 'utf-8', $content); 编码正常可以去掉,否者显示就不正常了
echo $content;
?>
<?php
header('Content-type:text/html; charset="utf-8"'); $url = 'http://10.32.41.194:8098/regions/list'; $content = file_get_contents($url);
// $content = iconv('gbk', 'utf-8', $content); 编码正常可以去掉,否者显示就不正常了
echo $content;
?>