Hello,
I have a small problem which seems simple but I couldn't get it to
work.
I need to get my the application's viewer IP address.
(the user who is currently using my application)

obviously I guess it should go inside the <javascript> tags, but
things I tried simply didn't
work and the application didn't do anything. For example I tried
something like that -


var Inet = Packages.java.net.InetAddress

 var ip = Inet.getLocalHost();
 var ipStr = new java.lang.String(ip.getHostAddress());


and it didn'r work for some reason though I found it in a good forum
in google..
(maybe I tested it incorrectly on Orkut)

Does anybody have a working piece of code?
Is that even possible in an Orkut application ?
it's the last stage and then my application will be ready for work! :)

Thank you,
Kogan.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to