Krajee file-input widget 'upload' method throws exception

后端 未结 3 883
醉酒成梦
醉酒成梦 2021-01-25 14:43

I am using fileinput widget form krajee: http://plugins.krajee.com/file-input

What I am doing wrong using \'upload\' method ? When I upload files by pressing upload but

3条回答
  •  迷失自我
    2021-01-25 15:12

    If you are just looking for a file upload plugin, I recommend Ravishanker Kusuma's Hayageek jQuery File Upload plugin:

    http://hayageek.com/docs/jquery-upload-file.php

    He breaks down the process into three simple steps, that basically look like this:

    
          // (1)
        
           // (1)
    
    
        
    Upload
    // (2)

    The final step is to have the PHP file specified in the jQuery code (in this case my_php_processor.php) to receive and process the file:

    my_php_processor.php:

    Note the relationship between myfile in the PHP ($_FILES["myfile"]), and the filename specified in the jQuery code block.

提交回复
热议问题