Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 User Log Help???
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 19 May 2002 :  12:02:55  Show Profile  Visit MaD2ko0l's Homepage
Hi all,
i use this to log everyone that goes to my site.
but ever since i installed AU4 it messed up where it said where the user was.
Look at the lines in between '######## Need Help Here Please ###### and tell me if u can help me.

Thankx

MaD2ko0l


Dim objRS
Dim DB
Dim SQLStr
Set DB = Server.CreateObject("ADODB.Connection")
DB.ConnectionString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & _
Server.MapPath("qwerty/UserLog.mdb") & ";"
DB.Open
Set Objrs = Server.CreateObject ("ADODB.Recordset")
SQLStr = "SELECT * FROM Log"
ObjRs.Open SQLStr, DB, 3, 3
objrs.AddNew
objrs("InTime") = StrToDate(strDateTime)
objrs("UserIP") = strOnlineUserIP

'######## Need Help Here Please ######
if len(strOnlineLocation) > 254 then
objrs("Script") = strOnlinePageName
else
objrs("Script") = strOnlineLocation
end if
'######## Need Help Here Please ######

objrs("UserName") = strOnlineUser
objrs.update

DB.Close
Set DB = Nothing
Set Objrs = Nothing

© 1999-2002 MaD2ko0l
-=[ Life Is So Easy When You Are Evil ]=-

MaD2ko0l
Senior Member

United Kingdom
1053 Posts

Posted - 19 May 2002 :  16:24:54  Show Profile  Visit MaD2ko0l's Homepage
anyone got any ideas????????????

© 1999-2002 MaD2ko0l
-=[ Life Is So Easy When You Are Evil ]=-
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 1.05 seconds. Powered By: Snitz Forums 2000 Version 3.4.07