My server has several IPs. I usually set them using Plesk.
How can I change the IP that my server is using for CURL or file(http://google.com) from my script?
so i want something like this:
setmyIP (1.2.3.4); // now the server will use this ip when connecting somewhere
culr (www.myserver.com) //my outgoing ip is 1.2.3.4 when i access myserver.com
Thanks!
Alex