In Novell NetBasic 6.0, is it possible to...
Articles and Tips: qna
01 Jan 2002
Q.
In Novell NetBasic 6.0, is it possible to write a "netbasic CGI" that can get the IP address (99.99.99.99) of the caller user's computer? When I use "NET:Internet:Address" I only see the IPX address of my server.
A.
You can get it through environment variables. To do this, use the following to give you the IP address you want:
GetUser = DOC:Env:Get("REMOTE_USER") GetUserAddress = DOC:Env:Get("REMOTE_ADDR")
* Originally published in Novell AppNotes
Disclaimer
The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.