Is it possible to tell PHP which IP to use for actions such as fopen() and curl()?
For example, the script is running a server with 8 ips. The script (which is run from the command line) connects to a remote server and downloads specific files. If I run a second instance of the script, it will attempt to connect to the server using the same local IP of the first instance, but the remote server only allows 1 connection per IP. Is there a way I can run multiple instances, each connecting using a different local IP?