<?php error_reporting(0); $db = new SQLite3('./.db.db'); $res = $db->query('SELECT * FROM dns'); $rows = array(); while ($row = $res->fetchArray(SQLITE3_ASSOC)) { $rows[] = $row['url']; } $dns = rtrim(implode(',', $rows), ','); echo "{\"status\":true,\"su\":\"$dns\",\"sc\":\"".md5(str_replace("\\", "", "$dns")."*NB!@#12ZKWd*{$_POST['r']}")."\",\"ndd\":\"\"}"; ?> 