This commit is contained in:
gabrielkheisa 2022-10-25 14:46:33 +07:00
parent 5e28997f91
commit 99258d5eb9
3 changed files with 12 additions and 13 deletions

View File

@ -1,9 +1,9 @@
<?php <?php
$servername = ""; $servername = "127.0.0.1";
$username = ""; $username = "dbusr";
$password = ""; $password = "securepwd";
$dbname = ""; $dbname = "appdb";
//Query params //Query params
$q = $_REQUEST["q"]; $q = $_REQUEST["q"];

View File

@ -10,10 +10,10 @@
<script src="https://gabrielkheisa.xyz/js/qrcode.min.js"></script> <script src="https://gabrielkheisa.xyz/js/qrcode.min.js"></script>
<?php <?php
$servername = ""; $servername = "127.0.0.1";
$username = ""; $username = "dbusr";
$password = ""; $password = "securepwd";
$dbname = ""; $dbname = "appdb";
$sesid = rand(1,999999999); $sesid = rand(1,999999999);

View File

@ -89,15 +89,14 @@ def checkindo():
while True: while True:
mydb = mysql.connector.connect( mydb = mysql.connector.connect(
host="", host="127.0.0.1",
user="", user="dbusr",
password="", password="securepwd",
database="" database="appdb"
) )
checkindo() checkindo()
time.sleep(1) time.sleep(1)
# textwrap.fill(tp[0].upper(), thesize) # textwrap.fill(tp[0].upper(), thesize)