Forking a search - pcntl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm creating a search function as part of our webmail frontend, however I'm
having big problems with timeout etc.

 

What we'd like to do is run the actual search query in the background (i.e.
fork) while the viewable page shows a nice scrollie banner etc!

 

Due to various problems with the server we are using (Zeus) we can't just
run an exec().  I've had a look around, and it would seem that pcntl maybe
the way forward.

 

Does anyone have an example working script, or indeed a decent tutorial on
how to use the functionality?  The php manual has limited information on
using the functions, and I just can't get my head around how it's meant to
work?!!!

 

Cheers

Nunners


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux