comparison php/save.php @ 2641:757e3956845c

Same as last (CP error)
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Thu, 19 Jan 2017 13:12:31 +0000
parents 3a0cd11bf232
children 8eb4de917ee6
comparison
equal deleted inserted replaced
2640:3a0cd11bf232 2641:757e3956845c
123 } 123 }
124 } 124 }
125 } 125 }
126 126
127 // Iterate through new doc 127 // Iterate through new doc
128 $wbytes = $doc_struct->save($filename); 128 $wbytes = $doc->save($filename);
129 129
130 // Return XML confirmation data 130 // Return XML confirmation data
131 $xml = '<response state="OK"><message>OK</message><file bytes="'.$wbytes.'">"'.$filename.'"</file></response>'; 131 $xml = '<response state="OK"><message>OK</message><file bytes="'.$wbytes.'">"'.$filename.'"</file></response>';
132 echo $xml; 132 echo $xml;
133 ?> 133 ?>