Home > Archive > Getting Started with dBASE > November 2006 > Remote_host lookup









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Remote_host lookup
Timbert

2006-11-08, 7:13 pm

Hi,

I am looking for a way to get the Remote_host lookup in dBase without activating the HostnameLookups Directive in apache because that causes the webserver to slow down. In PHP exists the gethostbyaddr function. How can I go about it? Thanks for any help

Timbert

Michael Nuwer

2006-11-09, 12:12 am

Timbert wrote:
> Hi,
>
> I am looking for a way to get the Remote_host lookup in dBase without activating the HostnameLookups Directive in apache because that causes the webserver to slow down. In PHP exists the gethostbyaddr function. How can I go about it? Thanks for any help



You can do this in dBASE with FUNCky

FUNCky = New OleAutoClient("FUNCky")
Address = "137.143.145.244"
if FUNCky.IsIpAddress( Address )
? FUNCky.NSLookup( Address )
endif
Timbert

2006-11-10, 7:15 pm

Michael Nuwer Wrote:

> Timbert wrote:
lp[color=darkred]
>
> You can do this in dBASE with FUNCky
>
> FUNCky = New OleAutoClient("FUNCky")
> Address = "137.143.145.244"
> if FUNCky.IsIpAddress( Address )
> ? FUNCky.NSLookup( Address )
> endif


Hi Michael,

Thanks a lot. It works fine. I am really happy with your suggestion.

regards

Timbert

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com