www.gusucode.com > 山寨版广告信息招贴网源码程序 > 山寨版广告信息招贴网源码程序/ewuyi/dir_发布/user/upload.asp
<%if instr(request.ServerVariables("HTTP_REFERER"),request.ServerVariables("SERVER_NAME"))=0 then Response.Redirect "/index.asp" response.End end if%><html> <head> <link href="images/style.css" rel="stylesheet" type="text/css"> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <style type="text/css"> <!-- .body {font-size: 12px} --> </style> </head> <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <% if Request.QueryString("mode")<>"doit" then %> <form method="post" action="uploadad.asp" enctype="multipart/form-data" name="form2"> <input type=file name="st_upfile" class=box style="border: 1 solid #60792F"> <input type="submit" name="submit" value="上 传" class="box"> <%else ufp=request("ufp") %> <a href="adpic/<%=ufp%>" target=_blank><font color=#ff0000>你的图片上传成功!</font></a> <% end if %>