K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / var / www / html / sman1baleendahoppppppp / install /
server ip : 104.21.89.46

your ip : 172.70.80.236

H O M E


Filename/var/www/html/sman1baleendahoppppppp/install/process.php
Size823
Permissionrw-r--r--
Ownerroot : root
Create time04-May-2025 17:23
Last modified04-May-2025 17:23
Last accessed06-Jul-2025 22:33
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
<?php
require_once('core_class.php');
require_once('database_class.php');
$core = new Core();
$database = new Database();
sleep(3);
$errors = [];
if ($core->validate_post($_POST) == true) {
if ( ! $database->check_database($_POST)) {
array_push($errors, 'Database tidak ditemukan. Silahkan buat database terlebih dahulu!');
}
if ( ! $database->create_tables($_POST)) {
array_push($errors, 'Terjadi kesalahan dalam import file SQL. Silahkan periksa kembali konfigurasi database anda!');
}
if ( ! $core->write_config($_POST)) {
array_push($errors, 'Terjadi kesalahan file permission. Silahkan ubah file permission application/config/database.php menjadi 0777');
}
} else {
array_push($errors, 'Semua form isian harus diisi!');
}
header("Content-Type: application/json;charset=utf-8");
echo json_encode($errors);