I'm passing data from a script to a URL which returns data for my script's use.
But the URL checks the originating IP of the sender for security. The problem is that my script sends the current machine/user's IP (the machine accessing the page/script) instead of my host server IP as the originating IP.
Is there a way to force a script to use it's server IP address as the originating IP?
This happens both when using fsockopen as well as the Snoopy class.