first read the text file into variables / an array
then use:
request.servervariables ("REMOTE_ADDR")

to get the visitors ip.
Do some comparing and give out the correct ip.


----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, February 24, 2005 12:58 PM
Subject: [AspClassicAnyQuestionIsOk] ASP: How to get the information about 
the browser ip address


>
>
>
> Dear members,
>
> We have a requirement as follows:
>
> We have a windows media player files (video file) placed in different
> servers at different locations. When we get a request from a user via
> browser we need to find out the ipaddress of the user machine who is
> trying to access the page and then match the ipaddress within a range
> of ip address we already have in a text file (hardcoded). Depending
> on match we need to point to the right server and display the file. I
> would like to know how this can be achieved using ASP. Any help will
> be immensely appreciated.
>
> Thanks,
> Mahesh
>
>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.859 / Virus Database: 585 - Release Date: 2/14/2005 



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to