Re: RES: [PHP] CURL problems still

2009-05-12 Thread Miller, Terion
Bastien, could you give me an example of what you mean? would it be $Name = like that? Thanks for the ideas everyone! PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Try Imitliazing the variables at the top of the loop to empty

Re: RES: [PHP] CURL problems still

2009-05-12 Thread Nathan Rixham
Miller, Terion wrote: Well I tried it and still it stopped at the C's 1: your script is timing out, you need to set the time limit higher set_time_limit(0); 2: foreach($html-find('table') as $table) { $rows = explode('/tr' , $table ); $headerCells = explode('/th', array_shift($rows));

Re: RES: [PHP] CURL problems still

2009-05-12 Thread Nathan Rixham
Nathan Rixham wrote: Miller, Terion wrote: Well I tried it and still it stopped at the C's 1: your script is timing out, you need to set the time limit higher set_time_limit(0); 2: foreach($html-find('table') as $table) { $rows = explode('/tr' , $table ); $headerCells = explode('/th',

RES: RES: [PHP] CURL problems still

2009-05-12 Thread Jônatas Zechim
: RES: [PHP] CURL problems still Bastien, could you give me an example of what you mean? would it be $Name = like that? Thanks for the ideas everyone! PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Try Imitliazing the variables

[PHP] CURL problems still

2009-05-11 Thread Miller, Terion
I'm back. I thought I had this script working but it seems to always stop at the end of the C's, so I can get it to go thru pages A-C then it stops, I have tried setting the time-out to a very large amount but it never continues to run past the same spot, it gathers all records to the end of C,

RES: [PHP] CURL problems still

2009-05-11 Thread Jônatas Zechim
Hey Guy, try to change the 'max_execution_time' ini_set('max_execution_time','1800'); -Mensagem original- De: Miller, Terion [mailto:tmil...@springfi.gannett.com] Enviada em: segunda-feira, 11 de maio de 2009 16:41 Para: PHP-General List Assunto: [PHP] CURL problems still I'm back

Re: RES: [PHP] CURL problems still

2009-05-11 Thread Miller, Terion
The error I get is from my INSERT statement It does insert the records up to C page though... The problem area: // Build your INSERT statement here $query = INSERT into warrants (wid, name, age, warrant, bond, wnumber, crime) VALUES (;$query .= '$wid', '$name', '$age',

Re: RES: [PHP] CURL problems still

2009-05-11 Thread Phpster
On May 11, 2009, at 16:01, Miller, Terion tmil...@springfi.gannett.com wrote: The error I get is from my INSERT statement It does insert the records up to C page though... The problem area: // Build your INSERT statement here $query = INSERT into warrants (wid, name,

Re: RES: [PHP] CURL problems still

2009-05-11 Thread Miller, Terion
Bastien, could you give me an example of what you mean? would it be $Name = like that? Thanks for the ideas everyone! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Try Imitliazing the variables at the top of the loop to empty

Re: RES: [PHP] CURL problems still

2009-05-11 Thread Phpster
On May 11, 2009, at 17:53, Miller, Terion tmil...@springfi.gannett.com wrote: Bastien, could you give me an example of what you mean? would it be $Name = like that? Thanks for the ideas everyone! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: