# Send IP Address in Contact Form

**URL:** <https://forum.kirupa.com/t/send-ip-address-in-contact-form/154323>\
**Category:** flash\
**Created:** [July 8, 2005, 3:45pm UTC](https://forum.kirupa.com/t/send-ip-address-in-contact-form/154323 "2005-07-08T15:45:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cyberious](https://avatars.discourse-cdn.com/v4/letter/c/3ab097/32.png) [@Cyberious](https://forum.kirupa.com/u/Cyberious)\
**Post date:** [July 8, 2005, 3:45pm UTC](https://forum.kirupa.com/t/send-ip-address-in-contact-form/154323/1 "2005-07-08T15:45:59Z")

</div>

How would I gather the same information that’s possible in an HTML form? For instance, I would like to get the IP of the sender, such as:

\<input type=“hidden” name=“env\_report” value=“REMOTE\_HOST, REMOTE\_ADDR, REMOTE\_USER, HTTP\_USER\_AGENT”\>

I’ve been getting so much spam from my Flash site, I have to figure this out.

Anyone know how to add this into a PHP script, or via Actionscript?

thanx!!!
