Commit | Line | Data |
---|---|---|
ffde8170 | 1 | <?PHP |
064f3eee | 2 | $save_invite = $_COOKIE['invite']; |
35aa6c1e PM |
3 | include_once('email.php'); |
4 | ||
5 | ||
6 | ob_start(); | |
7 | echo "<pre>"; | |
8 | print_r($_COOKIE); | |
9 | print_r($_SESSION); | |
10 | print_r($_GET); | |
11 | print_r($_POST); | |
12 | print_r($_SERVER); | |
13 | echo "</pre>"; | |
14 | $msg = ob_get_clean(); | |
15 | meps_mail('mdpetition@gmail.com',$msg,'Voter Vot Found Details'); | |
16 | ||
17 | ||
f612f880 PM |
18 | /* delete ALL cookies */ |
19 | foreach ( $_COOKIE as $key => $value ){ | |
20 | unset($_COOKIE[$key]); | |
21 | setcookie($key, '', time() - 3600, '/'); | |
22 | } | |
23 | // unset cookies | |
24 | if (isset($_SERVER['HTTP_COOKIE'])) { | |
25 | $cookies = explode(';', $_SERVER['HTTP_COOKIE']); | |
26 | foreach($cookies as $cookie) { | |
27 | $parts = explode('=', $cookie); | |
28 | $name = trim($parts[0]); | |
29 | setcookie($name, '', time()-1000); | |
30 | setcookie($name, '', time()-1000, '/'); | |
31 | } | |
32 | } | |
064f3eee | 33 | setcookie("invite", $save_invite); |
ffde8170 | 34 | include_once('header.php'); |
f612f880 | 35 | slack_general('Warning Not Found ('.$_COOKIE['invite'].')','md-petition'); |
ce49cf79 | 36 | $qX = "select * from website_text where id = '5'"; |
ffde8170 PM |
37 | $rX = $petition->query($qX); |
38 | $dX = mysqli_fetch_array($rX); | |
ce49cf79 | 39 | ?> |
5625b4c2 | 40 | <script>document.title = "MEPS - Warning Not Found";</script> |
1a946745 | 41 | <div class='row'> |
833a22d3 | 42 | <div class='col-sm-10' style='text-align:center;'><h1><?PHP echo $dX['text_title'];?></h1></div> |
1a946745 PM |
43 | </div> |
44 | <div class='row'> | |
833a22d3 | 45 | <div class='col-sm-10' style='text-align:center;'><h2><?PHP echo $dX['text_block'];?></h2></div> |
1a946745 | 46 | </div> |
9cf4b960 | 47 | <?PHP include_once('footer.php'); |