Jump to content
zbeng

IP Shower via PHP

Recommended Posts

Ok,first of all we create a dynamic text field in Flash and give it a variable name of : userip .

Then in the first frame of our Actions Layer we write this code:

loadVariablesNum("script.php", 0);

Then in the same folder of our movie we create a PHP script called : script.php and inside of it we write this line of code:

<?php print "&userip=". $_SERVER['REMOTE_ADDR']; ?>

Save everything and upload these files to your server to see the results!!!

Thank You.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...