thenewperson Posted December 7, 2009 Share Posted December 7, 2009 Hey, im using a uploader that works fine but instead of calling another page to test conditions i want to call a specific function. The function i want to call works perfectly fine if i load and call it normally but in this code it screws up. This is the complete uploaded http://webdeveloperplus.com/jquery/multiple-file-upload-with-progress-bar-using-jquery/ The place to call it is in the begining 1.$(function(){ 2. $('#swfupload-control').swfupload({ 3. upload_url: "upload-file.php", 4. file_post_name: 'uploadfile', 5. file_size_limit : "1024", 6. file_types : "*.jpg;*.png;*.gif", 7. file_types_description : "Image files", 8. file_upload_limit : 5, 9. flash_url : "js/swfupload/swfupload.swf", 10. button_image_url : 'js/swfupload/wdp_buttons_upload_114x29.png', 11. button_width : 114, 12. button_height : 29, 13. button_placeholder : $('#button')[0], 14. debug: false 15. }) On line 3, i want to change that to call function uploadtesting($user). I tryed changing it to that instead of .php page however nnothing comes up when i upload file. I tryed adding php tags around it and it shows me all the javascript of the uploader on the page.I just wantto change what is is caled when a file is uploaded to a function instead of php page. Quote Link to comment https://forums.phpfreaks.com/topic/184247-help-calling-a-function-from-uploader/ Share on other sites More sharing options...
thenewperson Posted December 7, 2009 Author Share Posted December 7, 2009 still cant seem to call this right Quote Link to comment https://forums.phpfreaks.com/topic/184247-help-calling-a-function-from-uploader/#findComment-972960 Share on other sites More sharing options...
thenewperson Posted December 7, 2009 Author Share Posted December 7, 2009 hmm no one knows how? Quote Link to comment https://forums.phpfreaks.com/topic/184247-help-calling-a-function-from-uploader/#findComment-973055 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.