First, the palliative method:
IE7 the above version in fact, the file upload is to send the full local path to make an option, in IE Internet Options can be set. The following figure:
1. Internet Security Options:
2. Full path Option settings:
Because the default is disabled, there is a problem and enabling it can solve the problem. But this is the palliative approach, if the Web page is for ordinary users, you can not ask all users to change this setting.
Second, the root-causes method:
The only way to fix the root causes is by changing the procedure. For the preview of the picture, I do not have a good method to get the local full path to the picture, so only by judging the browser version, if it is IE7 and FIREFOX3 version, the hint does not support the preview. For the function of the upload file, the problem since know the reason, the solution is naturally extremely easy. In the action file name, note that the file name is simple, not the full file path