Hi! Me and my pal are running your file uploading program, and we have got a problem with when the user chooses the particular file.
This says " D: \fakepath\file".
The URL into the site is: http: //filechimp. net
Although the uploading script is effective. How would WHEN I fix this
I have heard that it really is tricky.
It’s a relatively new safety feature. The notion behind it, as a minimum what I could gather, is for you to " protect" users from actually showing the entire path of a file that they’re uploading to the actual server. It seems like an IE8-specific thing (it’s the sole place I’ve found it), although it may be in other browser as well. That’s the terrible news.
The nice news is this, depending on your upload script, you are able to fix it yourself using something similar to this. I actually ran into this matter about 10 hrs ago using NeatUpload plus I created by myself workaround as a result. It seems to work, too.
var textFileName = track. name; // You will have to change this specific to whatever element creates your filename. textFileName = textFileName. upgrade (/C\: \\fakepath\\/i, " " ); // this does a case-insensitive look for C: \fakepath\. It is also the line that you do not want to alter. span. appendChild(document. createTextNode(' WI + textFileName)); // this could be where you'd replace your filename.
Doesn’t appear to be it affects your own FileChimp site, though.
Yet another thing… go buy any lottery ticket. The odds connected with someone on these running into the same problem you did, finding the alternative him/herself and offer it because it is still fresh in his/her mind usually are astronomical.
Are these claims an AJAX upload form Feels like lots of AJAX add forms may break in IE8 (and other browsers too, soon) because of new sandbox specifications from W3C lso are file inputs.
I have tested in IE8, GC, and Safari they usually all say Fakepath.
The question is where within the script to fit it, and how it might change right when you’ve got chosen the report.
Nor did I within my case. This wasn’t " stolen", though, in my instance… it was section of the upload ingredient i used.
when file. name must be used, then you’ll want to consider a line of which reads something into the effect of. append (file. name). Additionally, it could end up being (some element). innerHtml += track. name.