[PHP] Curl problems

2012-01-11 Thread Rick Dwyer
Hello all. I use curl to make a call to another page on my site... but it operates erroneously sometimes working... sometimes not. The page it calls creates an email and I can see on the server the email in the queue when it's working. If I echo out the URL the curl command is

Re: [PHP] Curl problems

2012-01-11 Thread Matijn Woudt
On Thu, Jan 12, 2012 at 12:20 AM, Rick Dwyer rpdw...@earthlink.net wrote: Hello all. I use curl to make a call to another page on my site... but it operates erroneously sometimes working... sometimes not.  The page it calls creates an email and I can see on the server the email in the

Re: [PHP] Curl problems

2012-01-11 Thread Rick Dwyer
On Jan 11, 2012, at 6:29 PM, Matijn Woudt wrote: On Thu, Jan 12, 2012 at 12:20 AM, Rick Dwyer rpdw...@earthlink.net wrote: Hello all. I use curl to make a call to another page on my site... but it operates erroneously sometimes working... sometimes not. The page it calls creates an

Re: [PHP] Curl problems

2012-01-11 Thread Matijn Woudt
On Thu, Jan 12, 2012 at 12:44 AM, Rick Dwyer rpdw...@earthlink.net wrote: On Jan 11, 2012, at 6:29 PM, Matijn Woudt wrote: On Thu, Jan 12, 2012 at 12:20 AM, Rick Dwyer rpdw...@earthlink.net wrote: Hello all. I use curl to make a call to another page on my site... but it operates

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:

[PHP] CURL problems posting data

2007-08-22 Thread Rahul Sitaram Johari
Ave, We need to login to a client¹s website in order to feed some data to their database, using their forms. To automate it, I¹m trying to use Curl to login. This is their form: form name=Form1 method=post action=http://www.website.com/Login.aspx; id=Form1 input type=hidden name=__VIEWSTATE

[PHP] Curl problems

2005-09-22 Thread -k.
Here is my problem. I need to post an XML file to someone else's server. I'm trying to do this with the curl package. Once I post the XML file to the other server one of two things will happen. The server will either take the info in the XML file and forward the user along to some other page