Hello,
Is it possible to read multiple files/urls at the same time in a PHP script?
Thanks,
Yes.
And how (stream_select()?)?
You're looking towards using stream functions?
It depends, I was thinking more on the lines of the PHP equivalent of C file handling functions.
It's important that it works on all os'es, so nativ C wouldn't be a good idea.
But I think it could work with stream_select(), but I don't know how...
um, not native C, PHP's implementation of similiar functions (though PHP is written in C).
i.e. [man]fopen/man, [man]fread/man, [man]fclose/man with multiple file pointers.
can you please post an example?