Add SPOTA core PHP application
Add the main admin, dosen, mahasiswa, API, and service code needed to run the core legacy application with configurable upload storage.
This commit is contained in:
15
hapus_sesi_wa.php
Normal file
15
hapus_sesi_wa.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
$base_url = 'http://203.24.50.140';
|
||||
if(empty($_GET['sesi'])){
|
||||
echo "<h3>403 Forbidden</h3>";
|
||||
exit;
|
||||
}
|
||||
|
||||
$nomor = $_GET['sesi'];
|
||||
$hapus = file_get_contents("$base_url:8000/session/delete/$nomor", false, stream_context_create(array( 'http' => array( 'method' => 'DELETE' ) )) );
|
||||
//echo $hapus;
|
||||
?>
|
||||
|
||||
<script>
|
||||
window.location = "./create-session-wa-gateway.php";
|
||||
</script>
|
||||
Reference in New Issue
Block a user