daoru.php 401 B

1234567891011121314151617181920
  1. <?php
  2. $pass = file_get_contents('file/pass.txt');
  3. $code = file_get_contents('file/code.txt');
  4. $pass = explode("\r\n", $pass);
  5. $code = explode("\r\n", $code);
  6. $sql = 'INSERT INTO `fangweima`.`data` (`company`, `pass`, `code`, `num`) VALUES ';
  7. foreach($pass as $k => $v)
  8. {
  9. $sql .= insert($v, $code[$k]);
  10. }
  11. $sql = trim($sql, ',');
  12. file_put_contents('file/sql.txt', $sql);
  13. echo '操作成功';die;