PDA

View Full Version : IP Address???



jjd228
01-09-2002, 03:04 PM
is there a way to get an IP address in VBScript?
im writing a custom logging script for someone and cant figure it out! all i need to do is grab the IP of someone when they visit a website.

darkness
01-14-2002, 02:28 PM
To grab an IP of a user when they connect to your web page try:
currentIP = request.servervariables("REMOTE_ADDR") =Should return 192.168.1.1 if that's the machines IP that is connecting.


Michael McLaughlin/images/forums/icons/smile.gif
Systems Manager
Minnesota State University Mankato