Get IP address using Action Script?

15,335

No, the client IP address is not available in ActionScript 3. The recommended approach is to have it reflected by server-side code.

See http://www.actionscript.org/forums/showthread.php3?s=&threadid=20123

Share:
15,335

Related videos on Youtube

roa3
Author by

roa3

Updated on June 04, 2022

Comments

  • roa3
    roa3 almost 2 years

    Is it possible to get client IP address through Flash (swf) Action Script 3 and then pass it to php file to store it in database?

  • roa3
    roa3 almost 15 years
    I have a screen which whole thing must in flash, hence i must use flash to get the ip and then pass it to php. Since you say YES, can show me how to do that?
  • JabbyPanda
    JabbyPanda over 13 years
    You are using PHP script to obtain IP address, it is no different comparing to previous answers.
  • Björn Kechel
    Björn Kechel over 10 years
    If you cannot explain it, don't write it. Flash files run on the client side and cannot read out the clients network-ip.
  • SporeDev
    SporeDev over 10 years
    Actually he is right. I struggled all day to pass a Flash IP verification. I managed to pass a few layers of security by using a Proxy (wich wasn't enough) and then a VPN. The VPN offered me full access to the website but not to the Flash player. I did some research and Flash can access your real IP regardless of your efforts unless your force a virtual machine to have the VPN, not having any links at all with your main system. Check it on the internet: passing flash ip verification, it's not a subject widely discussed but it's very intresting.

Related