upload file - different browsers send different path name
Minh Nam
Ranch Hand
Joined: Sep 10, 2011
Posts: 57
posted
0
Hi guys,
I use the following code to save a uploaded file on server:
If the file uploaded by Firefox, the fileName contains only file name.
If the file uploaded by IE, the fileName contains absolute path on client's computer which may exposes security threat.