Chris Loper wrote: > Philip Pemberton wrote >> ... haven't managed to find a way around the PHP timeout issue >> (PHP times out and kills the script off after 30 seconds ... > > Did you try setting max_execution_time in php.ini ? > Or calling set_time_limit(seconds) ? > What is your server - Apache, IIS, ... ? I tried the first one, but the problem was that it couldn't reliably handle stalled connections, i.e. where the connection succeeded, but the remote server has stopped sending data. I've just looked up set_time_limit() which appears to have the ability to reset the time limit. I'll see about adding some form of status bar and a few set_time_limit calls tomorrow. Argh, and it looks like DigiKey have "updated" their website again, so my data-scraper has stopped working. Fun... *creates a pair of bug entries in Mantis* Thanks, -- Phil. piclist@philpem.me.uk http://www.philpem.me.uk/ -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist