mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-10-22 08:08:52 +00:00
Moved php from cgi-bin to backend
This commit is contained in:
1 parent
aac9da9d45
commit
1576a1c6e4
24 files changed
+100
-100
No files matched your search
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
include ("../core/config/main.php");
|
||||
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");
|
||||
}
|
||||
?>
|
||||
Reference in new issue
Block a user