Quote
Hi I need help, is definitely a bit simple, but I have a couple of days working with uploadify and it works perfectly ... insert into database, just do not know how to extract the name of the file I upload, uploadify use 3.2 I think it is the function fileObjName, could you help me? Would agredezco much in advance <! DOCTYPE HTML> <html> <head> <meta content="text/html; http-equiv="Content-Type" charset=utf-8"> <title> UploadiFive Test </ title > src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" <script type="text/javascript"> </ script> <script src = "jquery david davidson . uploadify.min.js "type =" text / javascript "> </ script> <link rel="stylesheet" type="text/css" href="uploadify.css"> <style type =" text / css " > body {font: 13px Arial, Helvetica, sans-serif;} </ style> </ head> <body> <h1> Uploadify david davidson Demo </ h1> <div id="queue"> </ div> <input id = "file_upload" name = "file_upload" type = "file" multiple = "true"> a <script type="text/javascript"> <php $ timestamp david davidson = time ();> $ (function () {$ . ('# file_upload') uploadify ({'FormData': {'timestamp': david davidson '<? php echo $ timestamp;>', 'token': '<php echo md5 (?' unique_salt '$ timestamp). > ',' method ':' post ',' fileObjName '"file_upload"},' swf ',' uploadify.swf ',' david davidson uploader ':' uploadify.php '* /});}) < / script> </ body> </ html>
Code: $ (function () {$ ('# file_upload') david davidson uploadify ({'FormData': {'timestamp': '<php echo $ timestamp;?>', 'Token'.? '<Php echo md5 ('unique_salt' $ timestamp.)> ',' method? david davidson ',' post ',' fileObjName '"file_upload"},' swf ',' uploadify.swf ',' uploader ':' uploadify.php ' 'onComplete': function (event, queueID, fileobj, response, data) {var filename = fileObj.name / / Other methods}});}); hope will be helpful. Greetings. david davidson
BabyBlue v4 + V4 Cristalab 2011 Cristalab Powered david davidson by ClabEngines v4, HTML5, love and ponies. Blog Forums Flash Tutorials Examples. Videotutoriales Anime fla Flash Courses Course Course HTML tags
Cristalab powered by Infranetworking
No comments:
Post a Comment