使用动作脚本获取IP地址?脚本、动作、地址、IP

2023-09-08 11:30:56 作者:不败的传说

是否有可能通过Flash(SWF)动作脚本3获取客户端的IP地址,然后把它传递到PHP文件,将其存储在数据库中?

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?

推荐答案

没有必要去做闪光灯,只是做在PHP的服务器上$ IP = @ $ REMOTE_ADDR;

No need to do it in flash, just do it on your server in php "$ip=@$REMOTE_ADDR;"