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!
HI.I have a script that conects to some webpages and extract some data from there.But it takes too long to receive data.So I was wondering if is possible to have something like a multithreas system in php.It is only one script, and ca't use tmporary files or databases.
Aw, shucks. I had hoped someone had written something more like,"Well, they haven't really documented it, but you can multithread by following this pattern:..."
Sigh...
I guess our only hope for multithreading lies in the hands of those who contribute to the PHP/Java integration.
Thank you all:)
I made something like this for other script that needed speed:
I had the links that must be checked in a database.Then I used soemthing like a Fork systemMy php script autoexecuted himself, so i could run let's say about 10 threadds.But It was a strange approach so i forget about it.