views:

76

answers:

1

I have a problem, with uploadify. when using upload.php and echo "hello" I get a response. When changing to upload.cfm and hello I get nothing, no reponse. Any ideas what I can do to get a response from CF.

upload.php

<?php

echo "hello";

?>

upload.cfm

<cfoutput>hello</cfoutput>

$(document).ready(function() { 


 $('#newsImage').uploadify({ 
  'uploader':  '../uploadify/uploadify.swf', 
  'script':    'upload.cfm', 
  'wmode': 'transparent',
  'auto': 'true',
  'width': '100',
  'folder':    'uploads', 
  'cancelImg': '../uploadify/cancel.png',


  'onComplete' :
      function(event, queueID, fileObj, response, data) {


   if(response == "hello") {

   $('#mydiv').html("hello");
   }

     }

}); 
}); 
A: 

hi,
take a look in this link

very useful and you can make a multiple upload. regards

fritz