Initial commit
[2ch-be.git] / dev-test / noti.php
blob7daef6033f8dab87a257fb5ce3ffcf81cfd85d63
1 <?php
2 if (!isset($_COOKIE['DMDM']) && !isset($_COOKIE['MDMD'])) {
3 echo "NG";
4 exit;
6 if(isset($_POST['toggle'])){
7 include("encrypt.php");
8 $notipath = new Message;
9 $npath = $notipath->GetPath();
10 $npath = $npath."/noti.txt";
11 file_put_contents($npath, $_POST['toggle']);