Solved

> IP Address Script across Intranet <

Posted on 2000-03-09
2
168 Views
Last Modified: 2012-05-04
Hi,

I am after my intranet home page to read my users IP Address and run an IE Configuration Script - is there a simple script (for someone who hasn't played much with vb) that anyone has that I could use to read the IP no etc. I have full access to the wwwroot so any server side stuff should be ok.

code would be appreciated

cheers again

Charlie
0
Comment
Question by:cmuir
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 14

Expert Comment

by:mcrider
ID: 2600340
You can write a CGI script on the server that can get the IP address of the system connecting.  It is normally stored in the web servers environmental variable called REMOTE_ADDR


Cheers!®©
0
 
LVL 4

Accepted Solution

by:
wqw earned 35 total points
ID: 2600742
Check this YouAre.ASP:

<HTML>
<BODY>
Your IP Address is <%= Request.ServerVariables("REMOTE_ADDR") %>
</BODY>
<HTML>

HTH,

</wqw>
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How does CurrentUser work? 10 42
Exit a vb6 apps when a calling it apps closes 15 58
Access Object Property from VBA Module in Excel 2010 2 41
Assign a value in Excel V-Basic 3 30
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question