Open main menu

CDOT Wiki β

Changes

Savecode save.php

1 byte removed, 11:28, 9 August 2010
no edit summary
<source lang="php">
<?php
  include('/var/www/dev.zebraspot.com/html/includes/zebracode.php');  dbConnect('pro608a');  $data = addslashes(json_encode($_POST));  $key = GetValue('datakey');  $time = time();  GetQuery("INSERT INTO rawdata (timestamp, jsondata, datakey) VALUES ('$time','$data','$key')");  echo 'success'; 
</source>
1
edit