mirror of
https://github.com/Doodle3D/doodle3d-connect.git
synced 2024-11-05 07:03:24 +01:00
Removed comments
This commit is contained in:
parent
eda512cf6b
commit
c28818c46f
28
signin.php
28
signin.php
@ -21,34 +21,6 @@
|
||||
$id = $remoteip.'/'.$wifiboxid;
|
||||
echo "id: $id </br>";
|
||||
|
||||
/*$statement = $db->prepare("INSERT INTO $table(remoteip, localip, wifiboxid, date) VALUES(:remoteip, :localip, :wifiboxid, FROM_UNIXTIME(:timestamp))");
|
||||
$statement->execute(array( ':remoteip' => $remoteip,
|
||||
':localip' => $localip,
|
||||
':wifiboxid' => $wifiboxid,
|
||||
':timestamp' => $timestamp
|
||||
));*/
|
||||
|
||||
/*$statement = $db->prepare( "UPDATE $table " .
|
||||
"SET localip = :localip, " .
|
||||
" date = FROM_UNIXTIME(:timestamp)" .
|
||||
"WHERE remoteip=:remoteip AND " .
|
||||
" wifiboxid=:wifiboxid");
|
||||
$statement->execute(array( ':remoteip' => $remoteip,
|
||||
':localip' => $localip,
|
||||
':wifiboxid' => $wifiboxid,
|
||||
':timestamp' => $timestamp
|
||||
));*/
|
||||
|
||||
|
||||
|
||||
/*$statement = $db->prepare("INSERT INTO $table(id,remoteip, localip, wifiboxid, date) VALUES(:id,:remoteip, :localip, :wifiboxid, FROM_UNIXTIME(:timestamp))");
|
||||
$statement->execute(array( ':id' => $id,
|
||||
':remoteip' => $remoteip,
|
||||
':localip' => $localip,
|
||||
':wifiboxid' => $wifiboxid,
|
||||
':timestamp' => $timestamp
|
||||
));*/
|
||||
|
||||
$statement = $db->prepare( "REPLACE INTO $table " .
|
||||
"SET id = :id, " .
|
||||
" remoteip = :remoteip, " .
|
||||
|
Loading…
Reference in New Issue
Block a user