| Current Path : /var/www/html/softlogicxwebsite/ |
| Current File : /var/www/html/softlogicxwebsite/activate_smart_bills.php |
<?php
error_log(json_encode($_POST), 3, 'activate.log');
if(isset($_POST['username']) && $_POST['username'] == 'admin' && isset($_POST['password']) && $_POST['password'] == '@dm!n@cce$$'){
error_log('working!!', 3, 'activate.log');
$fp = fopen('kamstruplogs/license_extend_'.date('Y_m_d_h_i_s').'.txt', 'w');
fwrite($fp, json_encode($_POST));
fwrite($fp, "\n--------------------------------------------------------------\n");
#fwrite($fp, json_encode($_SERVER));
#fwrite($fp, "\n==============================================================\n");
fclose($fp);
echo json_encode([
"status" => true,
]);
}
?>