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:
Andrew Tomaka 2011-12-12 15:41:34 -05:00
parent e7b424eddd
commit a14709661a

View file

@ -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();
?>
{}