Advertisement
Guest User

Untitled

a guest
Jan 31st, 2023
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. <?php
  2.  
  3. //main DB
  4. $db = new SQLite3('./.db.db');
  5. //Call DNSs
  6. $res = $db->query('SELECT * FROM dns');
  7. $rows = array();
  8. while ($row = $res->fetchArray(SQLITE3_ASSOC)) {
  9. $rows[] = $row['url'];
  10. }
  11. $dns = rtrim(implode(',', $rows), ',');
  12. if ($_GET['action'] == "dns") {
  13. .........................................................................
  14. .......................................
  15. ..............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement