2.save the file as "myphp.php" and put in same folder as the swish file we just created.
That was all now you upload it to a webhost WITH PHP support or it won't work. U may need to CHMOD 777 on the files. Not sure.
Okay. Now I've to explain everything or I could have ripped the source?
1. Ipget button sends message to our php file using the POST method.
2.Php responds back to flash with "echo "&myvar=$ip"
3.Php sends IP address of the viewer to swish, swish takes it and put it up in text field "myobj".
4.After sending IP to swish, Php automatically saves the ip to IP.txt. It will create the txt file automatically, so don't worry. And $fp = fopen( 'ip.txt', 'a+' ) says that it should go to the end of file continue and don't overwrite previous saved IP addresses.
5.The text we typed in text "Iplog" is actually a html code. In Html "<a href='ip.txt' target='_blank'>Open IP log</a> </font>" means make a text OPEN IP log and when u click on it, it should open IP.TXT.
View the IPLogger