This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var CanDownload = localStorage.getItem('CanDownload'); | |
// If localStorage variable 'CanDownload' isn't set yet, set it to true | |
if (CanDownload == null) { | |
localStorage.setItem('CanDownload', true); | |
} | |
// function called when button is clicked | |
// changes CanDownload status to false | |
function ChangeButton () { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* -------------------------------------------------------------------- * | |
T H E L E G E N D O F | |
############## | |
############## ######## ##### ###### ###### | |
## #### ## ## ## ## ## ##### | |
#### ## # # ## ## ## ## ### | |
#### #### ## ## ## ###### | |
#### ## # # ## # ## ## ### ### |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function verifyData (array $fields, array $data, array $excludeFields = []) { | |
$array = [ | |
'data' => [], | |
'debug' => [] | |
]; | |
foreach ($fields as $key => $value) { | |
// If key is in exclude: ignore field |