Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Hasan Basri hasanbasri1993

🏠
Working from home
View GitHub Profile
@hasanbasri1993
hasanbasri1993 / index.php
Created May 14, 2020
cari bari code ini
View index.php
var autoRefresh = setInterval(
function () {
$('#divstatusall').load("<?= $homeurl ?>/admin/statuspeserta.php?id?id=76310EEFF2B5D3C887F238976A421B638CFEB0942AB8249CD0A29B125C91B3E5"");
}, 2000
);
View server_side_status.php
<?php
if (!isset($_GET['id'])) {
die("Anda tidak dizinkan mengakses langsung script ini!");
} else {
if ($_GET['id'] <> '76310EEFF2B5D3C887F238976A421B638CFEB0942AB8249CD0A29B125C91B3E5') {
die("Anda tidak dizinkan mengakses langsung script ini!");
}
}
include "../config/config.default.php";
include "../config/config.function.php";