Archive for the ‘upload’ Category

jquery flash Upload error 500

This is what i got from the server log:

mod_security: Access denied with code 500. Error processing request body: Multipart: final boundary missing [severity "EMERGENCY"]

This error message from ModSecurity means that the request body was not
properly constructed or something was wrong with the file upload (most
likely that the client timed out and did not fully complete the upload).

Other possible reasons for this -

1) If the end of the final boundary is missing a CRLF
2) If the size specified in the Content-Length header is too small. In
this case, Apache would cut off the end of the file.

Known bugs
If you are using Apache with mod_security this will not work, you need to put the following in your .htaccess file to disable mod_security:

SecFilterEngine Off
SecFilterScanPOST Off

Disabling mod_security isn’t allowed on some shared hosts, and only do this if you know what you are doing.

So editing the .htacces is what i will do next

  • Comments Off

Multi File upload forms

see demo click here

2008-01-08_011230.jpg

Most file upload forms suck. It?s not just the lack of design, but also the unintuitive and inflexible interface. There is usually a single file upload field, where you need to select and upload files one at a time. If your connection is slow and you have a bunch of files to upload, it will soon start to be irritating. Hotmail does it that way.

The slightly better approach is to have a list of file upload fields, so you can select the files at once, and be done with it. This method is sometimes assisted by a button to add more fields if you would need that.

But that is so far from what we are used to from the desktop applications. The text that can fit in the file upload field is not a very good representation of the actual file. (Normally something like ?C:\Documents and Setti??) And there?s just too many buttons.

http://www.topmost.se/personal/articles/file-upload-forms-that-don-t-suck.htm

how to use


<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title>wwIconified test page</title>
	<meta http-equiv="content-type" content="text/html;charset=utf-8" />
    <script type="text/javascript" src="wwiconified.js"></script>
    <link rel="stylesheet" href="wwiconified.css" media="screen" />
    <style type="text/css">
      img{
        float: none;
        margin: 0;
      }
    </style>
  </head>
  <body>
    <div id="Main">

      <form action="somefile.php" method="get" enctype="multipart/form-data">
        <h3>Files to upload</h3>
        <p>
          <input class="wwIconified" type="file" name="d[]" />
        </p>
      </form>

    </div>
  </body>
</html>

Time

Mp3

Msn status

  • manon2029@hotmail.com is

Chat with Meeh

Donate

    If you find an article useful, then please make a donation.

หมวดหมู่

UserOnline

Counter

  • Visitors today: 23
  • Visitors yesterday: 48
  • Visitors per day: 366
  • Max. visitors per day: 255
  • Total page views: 155,908
  • Page views of this page: 366
  • Currently online: 1
  • Max. online: 23
  • Total visitors: 33,987
  • counterStatistics