Hi!
I have a page with a tag in it pointing to a php script that generates javascript.
In this php script, I verify the remote ip to see if this ip has the right to use the script.
My question is: how do I get the IP from the machine that embeds the tag?
In $_SERVER, I have REMOTE_ADDR which is MY ip address (the client) and SERVER_ADDR which is the ip of the machine that runs the php script that generates javascript (the server).
But in between those, there's the page that embeds the tag and I need its server IP address.
Any ideas about how I'm gonna find it?
Thanks