For Programmers: Free Programming Magazines  


Home > Archive > PHP SQL > February 2006 > Long delay with CURL









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Long delay with CURL
Evil Bert

2006-02-24, 6:58 pm

I'm trying to write a PHP function that will go out to several sites
to grab data using the CURL function. The results are then reformatted
and displayed to the visitor.

The problem is that I need to go out to 5 or more sites and each one
takes approximately 10 to 30 seconds. So the problem I am faced with
is, this is way too long (2+mins) forthe website visitor to wait. I'm
not sure if PHP supports anytype of threads or any other way I could
the task faster.

Any advice would be greatly appreciated.

Thanks.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com