How to get user ip to show in flash

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   How to get user ip to show in flash
LOGSPLITTER
CZ Newbie
Occupation: SAFETY DIRECTOR
Gender: Male
Website:
Status: Offline
Joined: Oct 26, 2003
0.00 posts per day
Posts: 4
Points: 1,904
 Yahoo Messenger  
How can I get the user ip to show up in flash. I am running nuke 7.6 if that matters.




_________________
Back to top Reply with quote
#2   re: How to get user ip to show in flash
asgsoft
CZ Super Newbie
asgsoft has been a member for over 19 year's 19 Year Member
egypt.gif
Gender: Male
Status: Offline
Joined: Dec 12, 2004
0.00 posts per day
Posts: 30
Points: 1,122
   
can't you do it by passing variables from php script to be viewd in flash



Back to top Reply with quote
#3   re: How to get user ip to show in flash
bpat1434
CZ Newbie
bpat1434 has been a member for over 19 year's 19 Year Member
usa.gif maryland.gif
Occupation: EMT, Community Assistant, Webmaster, Firefighter, Web Host
Age: 40
Gender: Male
Website:
Status: Offline
Joined: Jan 19, 2005
0.00 posts per day
Posts: 21
Points: 783
AIM Address Yahoo Messenger MSN Messenger 
Yes, you will have to pass a variable from PHP to Flash (most likely using AMFPHP). Basically, your PHP code to get the IP is:

<?php

//*** Assign the IP to a variable ***
$ip = $_SERVER['REMOTE_ADDR'];

print $ip;

?>

Something like this should get you started. I suggest you read up on AMFPHP or communicating between PHP and Flash. A good start is: flash-db.com.

~Brett



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum