This is a static archive of our old Q&A Site. Please post any new questions and answers at

Help me figure out strange parameters in Multipart Request Entity


I am trying to analyse file uploading in

When i upload a file, a post request is sent with a multipart request entity which contains 3 parts. The first one is "Filedata" which contains the file data and the others are named "x" and "y" with some values. These values differ each time I upload a file(even if it is same file). X is like 77, 100, 47 and Y is like 11, 10, 13.. I don't know how these values are being calculated. Can anyone figure this out?

asked 28 Oct '10, 23:42

Vigneshwaran's gravatar image

accept rate: 0%

One Answer:


The page is using a form with an image as "submit" button:

    <form action="" method="post" enctype="multipart/form-data">
        <input name="Filedata" type="file" size="45"><br/><br/>
        <input type="image" src="" /><br/><br/><br/><br/>

The X and Y values are the coordinates of the location where the user clicked in the "submit" image.

answered 29 Oct '10, 00:38

SYN-bit's gravatar image

SYN-bit ♦♦
accept rate: 20%