first commit

This commit is contained in:
/usr/bin/nano
2017-04-15 01:34:36 +03:00
commit c715e2a604
5325 changed files with 329700 additions and 0 deletions

14
cgi-bin/saveGraph.php Executable file
View File

@@ -0,0 +1,14 @@
<?
include ("saveGraphHelpers.php");
$graph = file_get_contents("php://input");
$name = $_GET["name"];
if (isValidName($name))
{
$file = fopen(getXMLFileName($name), "w");
fprintf($file, "%s", gzcompress($graph, -1));
fclose($file);
echo ("OK");
}
?>