# Get IP from PHP file

**URL:** <https://forum.kirupa.com/t/get-ip-from-php-file/219931>\
**Category:** flash\
**Created:** [March 21, 2007, 7:08am UTC](https://forum.kirupa.com/t/get-ip-from-php-file/219931 "2007-03-21T07:08:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RonH](https://avatars.discourse-cdn.com/v4/letter/r/bcef8e/32.png) [@RonH](https://forum.kirupa.com/u/RonH)\
**Post date:** [March 21, 2007, 7:08am UTC](https://forum.kirupa.com/t/get-ip-from-php-file/219931/1 "2007-03-21T07:08:39Z")

</div>

I am making a flash file that I will be my myspace profile. But I want the flash file to save people’s IP address each time they load the site up.

I figured I would need to use PHP to get the IP address, but from what I have seen, the flash file has to be embedded into the PHP page… This flash file will be on a HTML page. Can flash load the PHP file, then use the function to get the IP address? Any help?

Thanks.  
-RonH
