$sl) { $prediction = 1; }else { $prediction = 0; } if($_REQUEST['chosen'] == $prediction) { $comparison = 1; }else { $comparison = 0; } $resolution = 446/32; $left1 = $resolution * $sl; $left2 = $resolution * $sc; $left1 = RoundedNumber($left1); $left2 = RoundedNumber($left2); include($rootdir."functions/mk_callback.inc.php"); include($rootdir."functions/fileimport.inc.php"); $outputfile = ($rootdir."log/data/xquest_ac_output.dat"); $output = dataimport($outputfile, 10000, 'mk_callback'); ?>
ende include($rootdir."log/logfile_end_func.inc.php"); // counter --> ende if(file_exists("../log/counter_end.txt")){ $fp=fopen("../log/counter_end.txt","r+"); $count=fgets($fp,6); $count++; rewind($fp); fputs($fp,$count,6); fclose($fp); }else{ $fp=fopen("../log/counter_end.txt","w"); $count="1"; fputs($fp,$count,6); fclose($fp); } // session zerstoeren session_destroy(); ?>