Do not want to send any information having to deal with passwords back and forth to the server. Keep everything written in open javascript.
This commit is contained in:
parent
e7b424eddd
commit
a14709661a
1 changed files with 0 additions and 11 deletions
11
update.php
11
update.php
|
@ -1,11 +0,0 @@
|
|||
<?php
|
||||
$site = $_POST['site'];
|
||||
|
||||
$db = new mysqli('localhost', 'root', '', 'temp');
|
||||
|
||||
$query = $db->prepare("INSERT IGNORE INTO pg_sites (site) VALUES(?)");
|
||||
$query->bind_param('s', $site);
|
||||
$query->execute();
|
||||
$query->close();
|
||||
?>
|
||||
{}
|
Loading…
Reference in a new issue