An Internet Protocol Address (IP Address), is a unique number assigned to every device connected to the Internet. For different reasons, it can be useful to get the user IP address, like blocking a spammer user in a chat application for example. In this tutorial, I will show you how to get and display the user’s IP address using PHP and ActionScript.
Final Result Preview
Let’s take a look at the final result we will be working towards:
Note: this SWF is just to show the interface, it won’t show the actual IP because it isn’t connected to a PHP server.
The PHP script and SWF you create in this tutorial