diff save.php @ 343:de9a0a740b6e WAC2016

Save PHP script fix; analysis webpage WIP
author Brecht De Man <b.deman@qmul.ac.uk>
date Fri, 13 Nov 2015 17:59:39 +0000
parents 08eee15e07d9
children e40eb1c67933
line wrap: on
line diff
--- a/save.php	Thu Oct 15 22:19:29 2015 +0100
+++ b/save.php	Fri Nov 13 17:59:39 2015 +0000
@@ -1,5 +1,5 @@
 <?php
-	head('Access-Control-Allow-Origin: *');
+	header('Access-Control-Allow-Origin: *');
 	$postText = file_get_contents('php://input');
 	$datetime = date('ymdHis');
 	$xmlfile = "save".$datetime.".xml";