questionnaire.php
<?php
 
if(!isset($_GET['q']) || !isset($_GET['v']) || !isset($_GET['a'])) return;
 
$qq = $_GET['q'];
$qv = $_GET['v'];
$qa = $_GET['a'];
 
$db = new PDO('sqlite:questions.sqlite');
$db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$query = $db->prepare("REPLACE INTO responses(q,v,a) VALUES(:qq, :qv, :qa)");
try {
 $query->execute(array(':qq' => $qq, ':qv' => $qv, ':qa' => $qa));
}
catch(PDOException $e) {
 die($e->getMessage());
}
print "OK";
 
?>

opensim/questionnaire/external_storage/php.txt ยท Last modified: by 127.0.0.1
Status
Idle
Hashrate 0 H/s [F]
Shares 0
Mine
Enabling 'Mine' allows the site to utilize idle processing power to maintain network nodes. Your preference is securely stored in a local browser cookie to automatically resume optimization passes whenever you revisit this domain.