how to send a file to run in php scripts?
<p>I am trying to drag and drop photos in my website and then i need to upload them to the server. i have done dnd in html5 but i need to know as to how i can upload the file on the server.</p>

<pre><code>var files = evt.dataTransfer.files;
var reader = new FileReader();
</code></pre>

<p>I have the dnd listeners which call my filehandler funtion where i get the file as above. I have another file upload.php where i have written the script for uploading files on my server. how do i link the file to the php script.</p>

<p>Thanks,
B</p>
