|
Posted by sheldonlg on June 4, 2008, 12:40 pm
Please log in for more thread options Rik Wasmus wrote:
> Peter H. Coffin wrote:
>> On Wed, 4 Jun 2008 07:03:23 -0700 (PDT), damezumari wrote:
>>> I have been told that file_exists() looks for files on the server, not
>>> on the user's machine.
>>>
>>> If that is correct the question then is: how do I check if a file
>>> exist on the user's machine? Or can't it be done?
>>
>> That'd be up to the possibly-faulty implementation of /Java(script)?/.
>
> Java (applets) can, I suspect Flash can too, javascript only if a
> particular UA manufacturer has erred beyond believe.
I'm curious. How does type="file" work? That allows a directory search
of the user's machine. Of course, it it totally under the user's
control, so no security breach, but what mechanism is used to get the data?
|