When it in PHP, we already know using
$_SERVER[‘HTTP_HOST’]
we can a host IP, what if it in AS3?
thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No, you can’t get the client’s IP address in a Flash SWF. This is not exposed via the Flash Player, I assume for security sandbox reasons.
However, on the server side you can access it on any remote call using the same method you describe in your post. ( I assume that is the PHP way to access the CGI variable).