if I try to use the function owa_util,get_cgi_env, via webserver 2.1,
I get this error:
login:(-6571) ORA-06571: Function GET_CGI_ENV does not guarantee not
to update database.
I try to get the IP address of the remote computer, for security
reasons.
Do you know how to solve this, or another way to do it?
Thanks.
Please also reply to ni...@ai.aiesec.org
Nico Jacobs
DECLARE
v_remote_addr VARCHAR2('40');
BEGIN
v_remote_addr := owa_util.get_cgi_env('REMOTE_ADDR');
END;
Nico Jacobs <nja...@bigfoot.com> schrieb im Beitrag
<33BCDE6C...@bigfoot.com>...
Function get_ip return varchar2
in_ip varcahr2(100) := owa_util.get_cgi_env('REMOTE_ADDR');
begin
return (in_ip);
end;
But, by the way, came across a nice article on the types of HTTP calls
in a CGI enviornment, cheers to it,
http://www.macon.tec.ga.us/cfdocs/userguid/ap2.htm .
Q. There is a call using 'HTTP_FROM', anybody with any success with
this. The call fetches the email address of the user.
Terrence Wong
Systems Developer
Nico Jacobs wrote:
> Hello there,
>
> if I try to use the function owa_util,get_cgi_env, via webserver 2.1,
> I get this error:
>