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

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%

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.

permanent link

answered 29 Oct '10, 00:38

SYN-bit's gravatar image

SYN-bit ♦♦
accept rate: 20%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 28 Oct '10, 23:42

question was seen: 16,756 times

last updated: 29 Oct '10, 00:38

p​o​w​e​r​e​d by O​S​Q​A