Get IP address using Action Script?
问题 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? 回答1: No need to do it in flash, just do it on your server in php "$ip=@$REMOTE_ADDR;" 回答2: 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 回答3: function GetUserIP() { var js="function get_userIP(){return java