|
<?
foreach( $_GET as $Key => $Value ) {
$_GET[$Key] = str_replace("\\\\", "\\", $Value );
$_GET[$Key] = str_replace("\\'", "'", $_GET[$Key] );
$_GET[$Key] = str_replace("\\\"", "\"", $_GET[$Key] );
}
?>
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=Shift_JIS">
</HEAD>
<BODY leftmargin=0 topmargin=0>
<FORM>
<INPUT type=submit value="変換"><br />
<TEXTAREA
name="fromString"
cols=80
rows=5><?= $_GET['fromString'] ?></TEXTAREA>
<br />
<TEXTAREA
name="toSjis"
cols=80
rows=5><? print urlencode($_GET['fromString']) ?></TEXTAREA>
<br />
</FORM>
</BODY>
</HTML>
| |