PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I can't seem to find if it is possible to created threads in php. When i say threads i mean like the CPU/Java threads
For instance multiple objects running at the same time controlling different ftp connections.
I'm trying to create a program which needs to upload to multiple ftp servers at the same time so to refresh the contents on the server at the same time. So that the program running there is in sync with the rest of the instances
Unfortunately, PHP is not capable of running multiple threads. You may want to check Python.
However, there is a package that can be found at phpclasses.org that simulates threads using forked procs and process intercommunication. This may be of some help or use.