views:

80

answers:

1

I want to enhance my browser-based web application with functionality that needs to read the absolute path of the files being uploaded and used for some processing, I have used HTML5 File API and PHP POST Upload method to support the upload functionality.

Question: Direct or work around method of reading the absolute path (client-side) of the file that is uploaded.

+2  A: 

I'm not very familiar with FileAPI yet, but from what I can see in specs.:

  1. For security reasons full file path ain't available
  2. FileAPI provides File interface that contains name attribute. However according to the spec it's file name only, without path.

You aren't able to get that.

Crozin
yeah i got tht, was hoping for a workaround, thanks neways.