Page 1 of 1

file path

Posted: Fri Mar 13, 2009 12:01 pm
by Arsench2000
Hello world,

Im trying to do some little work, but now I think may be it is not possible :(

I have a file field with brows button which is to select file
<input name="file" type="file"/>

I want that when the page loads, in the file box will the path like this c:\test.txt without clicking to brows - select file.

is it possible? please help me to do this.

Thanks in advance

Re: file path

Posted: Fri Mar 13, 2009 12:03 pm
by Mark Baker
Arsench2000 wrote:I want that when the page loads, in the file box will the path like this c:\test.txt without clicking to brows - select file.
And if I'm accessing the page from a Mac or a Linux box ? ? ? ?

Re: file path

Posted: Fri Mar 13, 2009 12:34 pm
by Arsench2000
Mark Baker wrote:
Arsench2000 wrote:I want that when the page loads, in the file box will the path like this c:\test.txt without clicking to brows - select file.
And if I'm accessing the page from a Mac or a Linux box ? ? ? ?

the page is a file.php and you can access from you want but it is only for type the file path + name in the file select box without clicking on the brows button
regards

Re: file path

Posted: Fri Mar 13, 2009 1:51 pm
by requinix
No, it is not possible.

There are many, many things you cannot do with a file input box: this is one of them.