KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.62
System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64
User : www ( 80)
PHP Version : 8.3.8
Disable Function : NONE
Directory :  /domains/mguerinweb/Offline_Archive/TableEditor/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /domains/mguerinweb/Offline_Archive/TableEditor/te_addon_logging.asp
<%
	'==============================================================
	' TableEditoR 0.81 Beta
	' http://www.2enetworx.com/dev/projects/tableeditor.asp
	'--------------------------------------------------------------
	' File: te_addon_logging.asp
	' Description: Log user logon information
	' Initiated By Rami Kattan on May 10, 2002
	'--------------------------------------------------------------
	' Copyright (c) 2002, 2eNetWorX/dev.
	'
	' TableEditoR is distributed with General Public License.
	' Any derivatives of this software must remain OpenSource and
	' must be distributed at no charge.
	' (See license.txt for additional information)
	'
	' See Credits.txt for the list of contributors.
	'
	' Change Log:
	'--------------------------------------------------------------
	'==============================================================

sub LogUserLogin(UserName)
		OpenRS2 arrConn(0)
		
		on error resume next
		sSQL = "SELECT * FROM logging"
		rs2.Open sSQL, , , adCmdTable
	
		if err <> 0 then
			response.write "Error: " & err.description & "<br><br>"
			CloseRS2
			response.end
		end if

		rs2.AddNew
		rs2("UserName") = UserName
		rs2("DateTime") = now
		rs2("IP") = Request.ServerVariables("REMOTE_HOST")
		rs2.update

		CloseRS2
end sub

%>

Anon7 - 2021