nuid.'77777'; $html = 'http://www.afilink.jp/cashing/rd/detail.php?uid='.$hid; $ftp = fopen($html ,'r'); for($line_num = 1;!feof($ftp);$linemum++) { $line = fgets($ftp,1024); $line = mb_convert_encoding($line,"UTF-8","EUC-JP"); print $line; } ?>