- 199 名前:質問させて下さい [2009/03/14(土) 19:52:27 ID:hOLVrRGN]
- 2度目の質問失礼します。
file_getについてアドバイスをお願いします。 下記にするとエラーが出ます。 <?php echo mb_convert_encoding(file_get_contents("111.php"), "shift-jis", "auto"); ?> エラー内容 Warning: mb_convert_encoding() [function.mb-convert-encoding]: Unable to detect character encoding in 111.php on line 59 下記にするとエラーは出ません。 <?php echo mb_convert_encoding(file_get_contents("111.php"), "shift-jis", "shift-jis"); ?> "shift-jis", "shift-jis"と2重にしたんですが、おかしな書き方になるのでしょうか? 別の書き方がありましたら教えて下さい。
|

|