Hi guys i don’t know anything about PHP but i am trying to add a piece of code to my mailer in order to detect the ip address of ppl emailing me.
this is the code, i am using flash to connect to the mailer.php
Someone else suggested me to add this to the php code
$ip=$_SERVER[‘REMOTE_ADDR’];
But i don’t know where and how this will work.
I am adding the fla file and the php to this post just in case someone can point me in the right direction.
Thank You
Max
You can just place that $ip variable inside the PHP tags as shown in red, and you could do something like include the IP address in the message that is sent to you (shown in blue).