Recommended: Detailed explanation of server.mappath method Server.mappath method is sorted out for reference by friends who need it
Handling method: delete the file, or clear the content of the file; my processing is to set the permissions of the file to Everyone deny access.
Share: Introduction to String.indexOf method The IndexOf() method of the string searches whether a string passed as a parameter appears on the string. If a string is found, it returns the starting position of the character (0 means the first character, 1 means the second character and so on). If it is not found, it returns -1