php - Problem with Uploadify 3.0 -


i trying make uploadify 3.0 (beta) work. there no documentation on uploadify website available, i'm having great difficulty. therefore appreciate if can me.

the problem i'm facing when select file, uploading process starts , process bar completes , says upload completed (and process bar disappears, normally). seems behave normal file not upload folder.

i have made sure folder exists (eg. folder named upload within same directory keep simple). here i'm doing:

i have extracted files in folder , made test.php file uploading. content of file are:

<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>uploadify scriptdata sample</title> <link rel="stylesheet" href="uploadify.css" type="text/css" /> <script type="text/javascript" src="jquery-1.6.2.min.js"></script> <script type="text/javascript" src="jquery.uploadify.min.js"></script>  <script type="text/javascript">     $(document).ready(function() {         $('#file_upload').uploadify({                         'swf' : 'uploadify.swf',                         'uploader' : 'uploadify.php',                         'cancelimg' : 'uploadify-cancel.png',                         'folder' : 'uploads',                         'auto' : true                            });     }); </script>  </head>  <body>     <fieldset style="border: 1px solid #cdcdcd; padding: 8px; margin: 8px 0;">         <legend><strong>upload files - scriptdata sample response</strong></legend>                 <h2>multiple file auto upload</h2>         <p>images only</p>         <input id="file_upload" name="file_upload" type="file" />     </fieldset>  </body> </html> 

i uploadify.php default file in download package moves file folder. have noticed if remove link of uploady.php or uploadify.swf, not effect on it, , still file uploaded succesffully, think problem script never goes uploadify config settings in javascript

($('#file_upload').uploadify({ ) 

which has uploadify.php file has code move file.

i have wasted many hours on problem, if can me, appriciate it. thanks.

uploadify 3.0 (beta) no longer supports setting 'folder' : 'path'

$(document).ready(function() {     $('#file_upload').uploadify({                     'swf' : 'uploadify.swf',                     'uploader' : 'uploadify.php',                     'cancelimg' : 'uploadify-cancel.png',                     'folder' : 'uploads',                     'auto' : true                        }); }); 

you can hardcode path of upload directory in uploadify.php script


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -