Anuj Shah

Registered
Sep 25, 2010
2
0
51
Hi,

I have a VPS with WHM and several IP addresses attached to several domains on the box.

When running Curl through a php script I'd like to set the IP address it connects from. So if I connect to another php script, that target script will the IP address I set as the REMOTE_ADDR. Right now it seems to always use the main IP of the server, regardless of which domain script I'm running is under.

Is this possible? If so how might one go about doing it?

Thanks

Anuj