Initial commit
[2ch-be.git] / dev-test / old_dev / noti.php
blob71536b851ab4a666438160726d00825372bdbf2d
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']);