Posted by Colin McKinnon on 09/08/05 23:57
James wrote:
>
> Is it possible to get PHP to do certain tasks at the same time? Like
> grab the content of 3-4 xml files at the same time so you dont wait on
> one, then retrieve the second, the third and so on? I have been asked
> to code something that will require this to happen (for the sake of
> runtime), and while I know I can do this using other languages don't
> relish supporting extra layers -- can PHP do this? If so can you point
> me towards documentation?
>
It's certainly possible to ask the operating system to create more
processes. See
http://www.php.net/manual/en/ref.pcntl.php for starters. Although this is
just one way to skin a cat.
C.
Navigation:
[Reply to this message]
|