File Manager
Back to List
|
Up to Parent Directory
| Current Directory: ~/car
Editing: car/add_visitor.asp
Full path: C:\ict\ICT\car\add_visitor.asp
Permissions: rwx
Write test: File appears not directly writable
Current process identity: IIS APPPOOL\DefaultAppPool
<!--#INCLUDE FILE="Connectdb.asp"--> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=windows-874"> </head> <body> <% set ors=server.createobject("adodb.recordset") ors.open "select * from visitor",Conn,1,3 if ors.eof then ' sql1="insert into statregis(fname,name,sname,position1,addwork,address,tel,fax,email,pay,mess) values('"&fname&"','"&name&"','"&sname&"','"&position1&"','"&addwork&"','"&tel&"','"&fax&"','"&email&"','"&stat&"','"&pay&"','"&mess&"')" ' set ors1 = Server.createobject("adodb.recordset") ' ors1.open sql1,conn,1,3 'ors1.Mode = 3 '3 = adModeReadWrite ' ors1.Open "" ' ors1.Execute(sql1) ' ors1.Close ors.addnew ors.fields("aa")=1 ors.update response.write sql1 end if %> </body> </html>