c3ed5b461b
WYSIWYG SVG editing. Still no support for mixed SVG/MathML content, yet.
8 lines
183 B
PHP
8 lines
183 B
PHP
<?php
|
|
$svg = $_REQUEST["svg_data"];
|
|
$svg_data = urldecode($svg);
|
|
$file = "saved.svg";
|
|
$fh = fopen($file, "w") or die("Can't open file");
|
|
fwrite($fh, $svg_data);
|
|
fclose($fh);
|
|
?>
|