麻烦帮我看一下这段代码,谢谢~~~~~~~

来源:百度知道 编辑:UC知道 时间:2024/06/05 19:20:57
<%
mUserID = Request.Cookies("aspxnet")("CurUserID")
If Request.ServerVariables("REQUEST_METHOD") = "POST" then
mUserName = checkStr(Trim(Request.Form("txtUserName")))
mPassword = checkStr(Trim(Request.Form("txtPassword")))
mAlbumName = checkStr(Trim(Request.Form("txtAlbumName")))
mAlbumPassword = checkStr(Trim(Request.Form("txtAlbumPassword")))

mCategoryID = Request.Form("selCategory")
mAlbumContent = checkStr(Trim(Request.Form("txtAlbumContent")))
mIPInfo = checkStr(Request.ServerVariables("REMOTE_ADDR"))

mSql = "Insert Into Photo_Album(F_UserID,F_CategoryID,F_AlbumName,F_AlbumContent,F_Addtime,F_Password,F_IPInfo,F_IsLocked)"
mSql = mSql+"Values('"&mUserID&"',"&mCategoryID&",'"&mAlbumName&"','"&mAlbumC

我就知道你会这么说.
但是不是这样的.

成功创建相册名后,它弹出一个窗口

提示:祝贺你,相册创建成功!您现在可以开始上传相片了 接着后面是 copyright by 2006- 2008 ***.COM 有个确认键 点后网址转向管理页面Photo_AlbumList.asp

有谁知道的麻烦回复下.

这个页面的全部代码
<!--#include file="../Include/Conn.asp" -->
<!--#include file="../Include/char.asp" -->
<!--#include file="../Include/const.asp" -->
<!--#include file="IsLogin.asp" -->
<%
mUserID = Request.Cookies("aspxnet")("CurUserID")
If Request.ServerVariables("REQUEST_METHOD") = "POST" then
mUserName = checkStr(Trim(Request.Form("txtUserName")))
mPassword = checkStr(Trim(Request.Form("txtPassword")))
mAlbumName = checkStr(Trim(Request.Form("txtAlbumName")))
mAlbumPassword = checkStr(Trim(Request.Form("txtAlbumPassword")))

mCategoryID = Request.Form("selC