|
-
Jun 20th, 2001, 05:30 AM
#4
Hyperactive Member
Right at the start you could do something like
<%
sIP=Request.ServerVariables("REMOTE_ADDR")
'Open the database connection
sSQL="SELECT * FROM tblName WHERE IP='" & sIP & "'"
'I used dBase as my connection
Set RS=dBase.execute(sSQL)
'do what ever from here
%>
<HTML>
<HEAD>
</HEAD>
<BODY>
<%=sIP%>
</BODY>
</HTML>
Hope this helps
Thanks in advance for any help provided.
VB 6 Enterprise Edition SP4
ADO, SQL 7/2000, ASP and some JavaScript

>> Life goes on, but for how long? <<
If you can smile when things go wrong, you have someone in mind to blame
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|