# I need your help freddythunder

**URL:** <https://forum.kirupa.com/t/i-need-your-help-freddythunder/27610>\
**Category:** Uncategorized\
**Created:** [August 4, 2003, 6:56pm UTC](https://forum.kirupa.com/t/i-need-your-help-freddythunder/27610 "2003-08-04T18:56:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![emeX](https://avatars.discourse-cdn.com/v4/letter/e/a4c791/32.png) [@emeX](https://forum.kirupa.com/u/emeX)\
**Post date:** [August 4, 2003, 6:56pm UTC](https://forum.kirupa.com/t/i-need-your-help-freddythunder/27610/1 "2003-08-04T18:56:38Z")

</div>

I have two questions, first how do you get a persons IP address in flash like you did on your site?And secondly i need help with a php login. Ive been trying to find out how to make a flash login to PHPBB which is a php bulletin board which is tied to a mySQL database. Only, i dont have very much knowledge of php so in the login.php file i have no idea h0w to import the username and password variables into flash. Heres the login.php source file…  
Thanks a bunch…

---

<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:** [August 4, 2003, 7:32pm UTC](https://forum.kirupa.com/t/i-need-your-help-freddythunder/27610/2 "2003-08-04T19:32:04Z")

</div>

o yeah here

---

<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:** [August 5, 2003, 1:32pm UTC](https://forum.kirupa.com/t/i-need-your-help-freddythunder/27610/3 "2003-08-05T13:32:39Z")

</div>

Hey there!

The answer to your first question is pretty easy. It’s one line of code:

```php

$ip = $HTTP_SERVER_VARS["REMOTE_ADDR"];
//then you can print it to Flash however you want:
print "&flashvar=".$ip;

```

The other question, I’m afraid I’m not sure. I’ve actually just started in PHP about a couple months ago and am still kinda new. Did you by chance read the tut I did on authentication?  
[http://www.kirupa.com/developer/actionscript/authentication.htm](http://www.kirupa.com/developer/actionscript/authentication.htm)

It doesn’t use session ID’s; I’m not too sure how to do that yet. I have (on my favorites list) a bunch of links to PHP login stuff. I’ll post some of them. Maybe that tut will help you, I know it’s kind of simple, but it does do the job.
