projects
/
mpd-web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Сохранение списков
[mpd-web.git]
/
ajax
/
save.php~
diff --git a/ajax/save.php~
b/ajax/save.php~
new file mode 100644
(file)
index 0000000..
5dd0518
--- /dev/null
+++ b/
ajax/save.php~
@@ -0,0
+1,16
@@
+<?php
+
+$task=$_REQUEST['task'];
+$item=$_REQUEST['item'];
+
+include('mpd.php');
+
+$res = $mpd->PLSave($item);
+
+if ($mpd->errStr) {
+ echo 'ERROR: '.$errSTR;
+} else {
+ echo 'OK';
+}
+
+?>