<HTML><HEAD>
<META NAME="ROBOTS" CONTENT="NONE">
<TITLE>www.idol.org</TITLE>
</HEAD>
<BODY BGCOLOR="#EEFFEE" VLINK="#00CC66">

<?php 
// 5 jun 03
$start = $_POST['start'];
$contents = $_POST['contents'];
$folder = $_POST['folder'];

$content = str_replace ( "\\", "", $contents);// 8 jun 03
$contents = mb_convert_encoding($content, "SJIS", "auto");

$fope = fopen($start, "w") or die("File open err.");
$cont = fwrite($fope, $contents);
fclose($fope);

// $chmo = chmod ($start, 0777) or die("chmod err.");// 9 jun 03

print "<A HREF=\"table.php?folder=$folder\">TOP</A>";
?>

</BODY>
</HTML>