Re: Obtaining IP address

From: <colerick_at_borg.com>
Date: Thu, 15 Oct 1998 14:41:48 GMT
Message-ID: <36260817.62097421_at_news.rl.af.mil>


On Wed, 14 Oct 1998 23:59:15 +0100, "Richard Platt" <rick.platt_at_btinternet.com> wrote:

>Does anybody know the API call to get a machine IP address, and if so can it
>be got through the D2WUTIL library.

use the owa_util package in the webserver toolkit included with oracle webapplication server.

owa_util.print_cgi_env will show all CGI environment variables including REMOTE_HOST and REMOTE_ADDRESS. You can call owa_util.print_cgi_env right from the URL if you are not protecting the packages in the PLSQL cartridge agent configuration - Protect PL/SQL Agent: FALSE otherwise you can just call it from another procedure.

owa_util.get_cgi_env('parameter_name');

Regards,
Ken Colerick
colerick_at_borg.com Received on Thu Oct 15 1998 - 16:41:48 CEST

Original text of this message