From: pkiddie <pk...@us...> - 2005-08-12 13:52:01
|
Update of /cvsroot/stack/stack-1-0 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5896 Modified Files: Tag: development_xmlrqp question_bank.php Log Message: Index: question_bank.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/question_bank.php,v retrieving revision 1.8.2.3 retrieving revision 1.8.2.4 diff -C2 -d -r1.8.2.3 -r1.8.2.4 *** question_bank.php 10 Aug 2005 08:48:45 -0000 1.8.2.3 --- question_bank.php 12 Aug 2005 13:51:54 -0000 1.8.2.4 *************** *** 133,139 **** if (array_key_exists('xmlfile',$_FILES)) { if (is_uploaded_file($_FILES['xmlfile']['tmp_name'])) { ! $pq = file_get_contents($_FILES['xmlfile']['tmp_name']); include_once("{$stack_root}/scripts/stackXML.php"); ! $qu = stack_xml_parse_question_string($pq); // If a single question has been uploaded, edit it, if multiple // questions store them in the database --- 133,140 ---- if (array_key_exists('xmlfile',$_FILES)) { if (is_uploaded_file($_FILES['xmlfile']['tmp_name'])) { ! ! //$pq = file_get_contents($_FILES['xmlfile']['tmp_name']); include_once("{$stack_root}/scripts/stackXML.php"); ! $qu = stack_xml_parse_question_file($_FILES['xmlfile']['tmp_name']); // If a single question has been uploaded, edit it, if multiple // questions store them in the database |