if (isset($_GET) && !empty($_GET['charset'])) $charset = $_GET['charset']; else $charset = ""; if (isset($_POST) && !empty($_POST['charset'])) $text = $_POST['charset']; else $text = ""; if($text) { switch($charset) { case iso: $the_charset = "iso-8859-1"; break; case utf8: $the_charset = "UTF-8"; break; default: $the_charset = "windows-1252"; } } else { switch($charset) { case "iso": $the_charset = "iso-8859-1"; break; case "utf8": $the_charset = "UTF-8"; break; default: $the_charset = "windows-1252"; } } ?>
| include("menu.php"); ?> |