Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Re: browse file name path question

Reply
Thread Tools

Re: browse file name path question

 
 
hilz
Guest
Posts: n/a
 
      09-20-2004
Hi all.
i posted the question below on netscape.public.mozilla.general, and haven't
gotten any answers.
I appreciate any help from this group.

TIA.
hilz.


"hilz" <> wrote in message
news:MX33d.3008$PZ4.724@trnddc06...
> Hi all:
>
> I have a form where i have a file input element as follows:
>
> <input type="file" name="filename" size="20">
>
> in IE, the filename returned is the complete path of the file.
> in Mozilla, i only get the filename.ext without the complete path.
> what do i need to change in this input to make it compatible with both IE
> and Mozilla?
>
> thanks
> hilz
>
>



 
Reply With Quote
 
 
 
 
Sam Hughes
Guest
Posts: n/a
 
      09-20-2004
"hilz" <> wrote in news:LZH3d.4522$PZ4.544@trnddc06:

> Hi all.
> i posted the question below on netscape.public.mozilla.general, and
> haven't gotten any answers.
> I appreciate any help from this group.
>
> TIA.
> hilz.
>
>
> "hilz" <> wrote in message
> news:MX33d.3008$PZ4.724@trnddc06...
>> Hi all:
>>
>> I have a form where i have a file input element as follows:
>>
>> <input type="file" name="filename" size="20">
>>
>> in IE, the filename returned is the complete path of the file.
>> in Mozilla, i only get the filename.ext without the complete path.
>> what do i need to change in this input to make it compatible with
>> both IE and Mozilla?


It already is compatible with both browsers. Providing the full path to a
document is a weird behavior specific to poorly-constructed browsers. It
reveals information about the user's system that should not necessarily be
revealed.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How to get the file name from a String containing the path plus the file name? Mike Schilling Java 2 03-05-2010 03:53 AM
Assigning value to Browse button without using browse button in HTML balakrishnan.dinesh@gmail.com Javascript 0 10-12-2007 06:45 AM
Getting File Path in Browse File Dialog in ASP.Net =?Utf-8?B?ZGVuIDIwMDU=?= ASP .Net 3 05-08-2006 08:33 AM
Internet Explorer 6 Can't Browse, Other Programs Browse Fine... Ike Computer Support 1 08-02-2005 09:20 PM
Check if File Path Exists in Browse Text Box Matt Javascript 3 09-17-2004 09:28 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57