diff options
author | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-11-14 15:39:19 +0000 |
---|---|---|
committer | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-11-14 15:39:19 +0000 |
commit | 1c5685d68f1b73270fb814fe04cbb490eb90ba5f (patch) | |
tree | 3d3ada08a934b96fc31531f1327690d7edc6f766 /includes/js/dojox/widget/FileInput/ReceiveFile.php | |
parent | 104d59099e048688c4dbac37d72137006e396558 (diff) | |
download | semanticscuttle-1c5685d68f1b73270fb814fe04cbb490eb90ba5f.tar.gz semanticscuttle-1c5685d68f1b73270fb814fe04cbb490eb90ba5f.tar.bz2 |
Minor fix: Remove DOJO library (60Mo) replaced by link to Google CDN (online DOJO library)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@159 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'includes/js/dojox/widget/FileInput/ReceiveFile.php')
-rw-r--r-- | includes/js/dojox/widget/FileInput/ReceiveFile.php | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/includes/js/dojox/widget/FileInput/ReceiveFile.php b/includes/js/dojox/widget/FileInput/ReceiveFile.php deleted file mode 100644 index aca541f..0000000 --- a/includes/js/dojox/widget/FileInput/ReceiveFile.php +++ /dev/null @@ -1,37 +0,0 @@ -<?php - -// THIS IS AN EXAMPLE -// you will obviously need to do more server side work than I am doing here to check and move your upload. -// API is up for discussion, jump on http://dojotoolkit.org/forums - -// JSON.php is available in dojo svn checkout -require("../../../dojo/tests/resources/JSON.php"); -$json = new Services_JSON(); - -// fake delay -sleep(3); -$name = empty($_REQUEST['name'])? "default" : $_REQUEST['name']; -if(is_array($_FILES)){ - $ar = array( - // lets just pass lots of stuff back and see what we find. - // the _FILES aren't coming through in IE6 (maybe 7) - 'status' => "success", - 'name' => $name, - 'request' => $_REQUEST, - 'postvars' => $_POST, - 'details' => $_FILES, - // and some static subarray just to see - 'foo' => array('foo'=>"bar") - ); - -}else{ - $ar = array( - 'status' => "failed", - 'details' => "" - ); -} - -// yeah, seems you have to wrap iframeIO stuff in textareas? -$foo = $json->encode($ar); -?> -<textarea><?php print $foo; ?></textarea> |