http://www.searchnc.com/cgi-bin/myip.pl
with this link you have a global var called IP but the problem is the same if this page fail your service fail. also i can't add this page for probe but i Use wso2gadgetServer tell me if you can use. El miércoles, 12 de marzo de 2008 09:23:33 UTC-6, Hani Ayoub escribió: > > Hi All, > > Is there any way to write a Google gadget which has a pure Javascript > code and shows the user's IP? I need to write a gadget in Javascript > which uses the IP of the user... so I need a piece of code which give > me the user's IP in a variable... any advice? > While investigating the issue I found a few ideas but non of them > worked... like using XMLHttpRequest which send a callback to a website > which gives us the IP but it didn't work... is that means that > XMLHttpRequest does not work in Google gadgets? > I know that there are a lot of gadgets that shows the IP, i just need > to implement it using Javascript and they use PHP. > Also, using iFrame does not work since I have not access to it. > > Any Advices would be appreciated. > Thanks! > Hani; > -- You received this message because you are subscribed to the Google Groups "iGoogle Developer Forum" group. To view this discussion on the web visit https://groups.google.com/d/msg/Google-Gadgets-API/-/eoVH9MBfwusJ. 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/Google-Gadgets-API?hl=en.
