Welcome Guest, Not a member yet? Register   Sign In
use of register_shutdown_function
#4

[eluser]weboap[/eluser]
another suggestion to use Simultaneuos requests as per this page :

http://www.phpied.com/simultaneuos-http-...with-curl/

and set the CURLOPT_TIMEOUT to less than 300 , after it timeout you can test the results before to store them. if the feed is ok save it, if not use the one in the cache till next cron run , then in the mean time send you a report if any failed and which one exactly.
following is some links that may help explained it better:

http://stackoverflow.com/questions/63750...st-timeout

http://stackoverflow.com/questions/50011...e-function

hope it help.




Messages In This Thread
use of register_shutdown_function - by El Forum - 05-22-2012, 05:20 AM
use of register_shutdown_function - by El Forum - 05-22-2012, 06:42 AM
use of register_shutdown_function - by El Forum - 05-22-2012, 09:56 AM
use of register_shutdown_function - by El Forum - 05-22-2012, 12:58 PM



Theme © iAndrew 2016 - Forum software by © MyBB