Problem
JavaScript doesn't shows the full path of the select file
Impact
can not get the full path of the selected file.
Solution:
if you are not getting full path of the selected file then probably you are using firefox.
because of the security reasons it doesn't stores the full path.
and just for your knowledge you never need full path.
the reason behind that is that if you want to upload a file on the server we need to use multipart/form-data so it stores the entire file in the post array of submission.
so on the server side anyway you can get the file don't worry about the file path.
JavaScript doesn't shows the full path of the select file
Impact
can not get the full path of the selected file.
Solution:
if you are not getting full path of the selected file then probably you are using firefox.
because of the security reasons it doesn't stores the full path.
and just for your knowledge you never need full path.
the reason behind that is that if you want to upload a file on the server we need to use multipart/form-data so it stores the entire file in the post array of submission.
so on the server side anyway you can get the file don't worry about the file path.
No comments:
Post a Comment