# Expermenting...Should Be Easy!

**URL:** https://forum.kirupa.com/t/expermenting-should-be-easy/94359
**Category:** Uncategorized
**Created:** [November 11, 2003, 8:51pm UTC](https://forum.kirupa.com/t/expermenting-should-be-easy/94359 "2003-11-11T20:51:47Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![REEF](https://avatars.discourse-cdn.com/v4/letter/r/ce73a5/32.png) [@REEF](https://forum.kirupa.com/u/REEF)
#### Post date: [November 11, 2003, 8:51pm UTC](https://forum.kirupa.com/t/expermenting-should-be-easy/94359/1 "2003-11-11T20:51:47Z")

</div>

Hey guys. I’m experimenting with flash and I need some help:

- There’s a variable called **address**. Question: How can I make this variable show the IP address of a person using php?

- There’s another variable called **nickname**. This is just name for people to put in.

- There’s a button.

**Question:** After clicking the button…How would I send both these variables to a notepad in a ordered way (I mean like showing your name with your IP next to it)? And each time someone clicks this button, the vars are sent to the notepad in lines. I also need the variables to be saved to the notepad so I can view it.

- Thanks.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [November 14, 2003, 3:05am UTC](https://forum.kirupa.com/t/expermenting-should-be-easy/94359/2 "2003-11-14T03:05:28Z")

</div>

I am not sure if you can retrieve the IP address inside flash. You might have to use a server side scripting language like PHP or ASP.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [November 15, 2003, 5:35pm UTC](https://forum.kirupa.com/t/expermenting-should-be-easy/94359/3 "2003-11-15T17:35:48Z")

</div>

Never Mind. I changed your code to Jubba’s counterscript code and edited it…a lot. And it works perfectly with flash. One thing that still doesn’t happen is that the variable ipAddr doesn’t show the IP. I set my php code to:

```php
$ipAddr = $HTTP_SERVER_VARS["REMOTE_ADDR"];

```
