Author Message

Posted: Wed Dec 29, 2010 10:27 pm   Post subject: Quizmaker Trial Version - test.php / index.php scripts

Hello, I'm trying to use the $_POST variables in either the test.php or index.php scripts to write the quiz results to our MySQL database. The only way they work, is when they're hard coded as in the test.php script:
$_POST['v'] = '1';
$_POST['sp'] = '3';
$_POST['psp'] = '80';
// $_POST['ps'] = '3';
$_POST['tp'] = '90';
$_POST['sn'] = 'test';
$_POST['se'] = '';
$_POST['te'] = '';
$_POST['qt'] = 'New Quiz';
$_POST['dr'] = file_get_contents('testReport.xml');
How can I retrieve the actual quiz results, rather than using the hard coded values?
Any help is greatly appreciated - thanks!

Profile profile test
Display posts from previous:  Sort by  


Who is online
Who is online In total there are 20 users online :: 2 registered, 0 hidden and 18 guests (based on users active over the past 5 minutes)
Most users ever online was 673 on Mon Mar 30, 2020 7:09 pm

Registered users: Baidu [Spider], Google [Bot]