[PHP-users 31844] Ⱦ�ѥ��ʤ�ʸ�������ˤĤ���

aug721 �� gmail.com aug721 �� gmail.com
2007ǯ 4�� 6�� (��) 19:42:50 JST


�������ȿ����ޤ���

�����ѤΥ����Ȥǻ��Ѥ��Ƥ���Ⱦ�ѥ��ʤ�ʸ��������ȯ������
���äƤ��ޤ���
�֥��꡼�ʡע��ºݤ�Ⱦ�ѥ��ʤǤ�
�Ȥ���ñ������졢Submit����ȡֱذšפȤʤ�ޤ���
HTML�ե�����ϡ�Shift-JIS�Ǻ���Ƥ���ΤǤ�����������ǧ��
����Ƥ��ʤ��褦�Ǥ���
Web��Ⱦ�ѥ��ʤ�Ȥ��ʾ������̵�����ȤʤΤǤ��礦����
����Ȥ�����Dz���Ǥ���ΤǤ��礦����

�������HTML�ʥ��꡼�ʤ�Ⱦ�ѥ��ʡˡ�
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
<body>
<form method="post" action="<?=$_SERVER['SCRIPT_NAME']?>">
<input type="text" name="test" value="���꡼��">
<input type="submit">

<?php
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
	print('<hr>'.$_POST['test']);
}
?>
</form>
</body>
</html>

��php.iniȴ���
default_charset = "Shift_JIS"
magic_quotes_gpc = Off

[mbstring]
mbstring.language = Japanese
mbstring.internal_encoding = SJIS
mbstring.http_input = auto
mbstring.http_output = SJIS
mbstring.encoding_translation = On
mbstring.detect_order = auto
mbstring.substitute_character = none;

�ڴĶ���
OS:Windows Server 2003
Web������:IIS 6.0
PHP:4.3.9
HTMLʸ��������:Shift-JIS


PHP-users �᡼��󥰥ꥹ�Ȥΰ���