2
require_once("docutil.php");
3
require_once("poll.inc");
4
require_once("../html/inc/translation.inc");
5
require_once("poll_data.inc");
7
boinc_error_page("The poll is closed");
9
page_head(tra("Error - results not recorded"));
10
echo tra("An internal error has prevented us from recording your survey response. Please try again later.");
15
mysql_pconnect("localhost", "boincadm", null);
16
mysql_select_db("poll");
18
session_set_cookie_params(86400*365);
23
$xml = generate_xml($x);
25
$response = select_response($uid);
27
$result = update_response($uid, $xml);
29
$result = new_response($uid, $xml);
32
page_head(tra("Survey response recorded"));
33
echo tra("Thank you for completing the BOINC user survey.");