Greetings,
I have two questions:
1. In PHP4 can I make script work so it binds to multiple IP's?
Basically in the script I am connecting to another server multiple times and retrieving some information. I would like to be able to tell PHP: for the first connection use this IP address, for the second connection use this IP address.
I believe this can be achieved using the socket extension; I just wanted to know if I am on the right track.
2. Is there a way to use multithreading in PHP4?
For this question I found the curl_multi_* functions, but they are only available in PHP5, I would like a solution in PHP4.
Any help on these two questions is greatly appreciated.
Thanks,
Itshim
I have two questions:
1. In PHP4 can I make script work so it binds to multiple IP's?
Basically in the script I am connecting to another server multiple times and retrieving some information. I would like to be able to tell PHP: for the first connection use this IP address, for the second connection use this IP address.
I believe this can be achieved using the socket extension; I just wanted to know if I am on the right track.
2. Is there a way to use multithreading in PHP4?
For this question I found the curl_multi_* functions, but they are only available in PHP5, I would like a solution in PHP4.
Any help on these two questions is greatly appreciated.
Thanks,
Itshim