[flexcoders] Re: Getting client's IP address

2005-06-13 Thread temporal_illusion
I assume it's a http service you're using that calls the PHP page to get the IP? I think the web service calls are proxied by default. Try adding the useProxy=false property in the http service, that should tell the app to go to the web service directly. Jason --- In

[flexcoders] Re: Getting client's IP address

2005-06-13 Thread heybluez
Hi, I do this with a simple .jsp script in the Flex app. You can include something like the following: getIPAddress.jsp: clientip valGet%=request.getRemoteAddr()%/valGet /clientip Then call that within Flex in an HTTPService and parse the return. HTTPService.result.clientip.valGet , etc

[flexcoders] Re: Getting client's IP address

2005-06-13 Thread Andrew Spaulding
You could also pass it to your mxml file as a flashvar, as long as you have the variable declared in your root application. I do something similar to the following from within a jsp page: !-- index.jsp -- html head titleflex/title %@ taglib uri=FlexTagLib prefix=mm / % String ipAddress =

RE: [flexcoders] Re: Getting client's IP address

2005-06-13 Thread Jeff Beeman
PROTECTED] On Behalf Of Andrew Spaulding Sent: Monday, June 13, 2005 4:18 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Getting client's IP address You could also pass it to your mxml file as a flashvar, as long as you have the variable declared in your root application. I do something

RE: [flexcoders] Re: Getting client's IP address

2005-06-13 Thread Jeff Steiner
@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Andrew Spaulding Sent: Monday, June 13, 2005 4:18 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Getting client's IP address You could also pass it to your mxml file as a flashvar, as long as you have the variable declared in your