PHPで文字化けしない環境にする

2007-01-25 - 4:47 pm by snoo

.htaccessで指定できるそうです。
ホスティングサーバ利用でも、もう怖くありませんw

(設定例)
php_value defalt_charset EUC-JP
php_value mbstring.language Japanese
php_value mbstring.http_input auto
php_value mbstring.http_output EUC-JP
php_value mbstring.internal_encoding EUC-JP
php_flag output_buffering on
php_flag mbstring.encoding_translation On
php_flag magic_quotes_gpc Off
php_flag magic_quotes_runtime Off
php_flag magic_quotes_sybase Off

Leave a Reply

XHTML: You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>