[qo-modules-dev] [10] move work on Drag and drop

[ Thread Index | Date Index | More lists.tuxfamily.org/qo-modules-dev Archives ]


Revision: 10
Author:   ytorres
Date:     2008-11-09 22:05:10 +0100 (Sun, 09 Nov 2008)

Log Message:
-----------
move work on Drag and drop

Added Paths:
-----------
    yannick/php/move-to.php


Added: yannick/php/move-to.php
===================================================================
--- yannick/php/move-to.php	                        (rev 0)
+++ yannick/php/move-to.php	2008-11-09 21:05:10 UTC (rev 10)
@@ -0,0 +1,9 @@
+<?php
+$dir = "../desktop/";
+
+$moveTo = $_POST['moveTo'];
+$name = $_POST['name'];
+
+rename($dir.$name, $dir.$moveTo.'/'.$name);
+
+?>
\ No newline at end of file


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/