Mercurial > hg > webaudioevaluationtool
view php/test_write.php @ 2963:8881dbe2807e
Remove position tag from test page of MUSHAR template (itur1534) to prevent user from getting the impression that position="0" is to unset the fixed position of the test case
- fixes #260
author | Thomas Schlien <schlien@iks.rwth-aachen.de> |
---|---|
date | Thu, 23 Nov 2017 15:51:26 +0100 |
parents | 260efd43fe52 |
children | 53d701288da5 |
line wrap: on
line source
<?php $file = "../saves/test-save.xml"; $state = file_put_contents($file, "<xml></xml>"); if ($state == FALSE) { echo "<response state=\"error\"><message>Could not open file</message></response>"; } else { unlink($file) or die("<response state=\"error\"><message>Could not open file</message></response>"); echo "<response state=\"OK\"><message>OK</message></response>"; } ?>