Matt
Jun 23 2005, 11:29 PM
Hi everyone,
I need a little bit of help. I'm using curl to do some off site transactions
and I want to be able to detect timeouts. None of the curl documentation talks
about how to test for timeout, only how to set the timeout. I was wondering
if anyone could help me.
Thanks,
Matt
Manuel Lemos
Jun 24 2005, 01:50 AM
Hello,
on 06/23/2005 09:29 PM Matt <no email> said the following:
QUOTE |
I need a little bit of help. I'm using curl to do some off site transactions and I want to be able to detect timeouts. None of the curl documentation talks about how to test for timeout, only how to set the timeout. I was wondering if anyone could help me.
|
Why don't you just use fsockopen connections and handle that yourself?
You may also want to try this class for sending and handling HTTP requests.
http://www.phpclasses.org/httpclass--
Regards,
Manuel Lemos
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html
Matt
Jun 24 2005, 03:20 PM
Manuel Lemos wrote:
QUOTE |
Hello,
on 06/23/2005 09:29 PM Matt <no email> said the following:
I need a little bit of help. I'm using curl to do some off site transactions and I want to be able to detect timeouts. None of the curl documentation talks about how to test for timeout, only how to set the timeout. I was wondering if anyone could help me.
Why don't you just use fsockopen connections and handle that yourself?
You may also want to try this class for sending and handling HTTP requests.
http://www.phpclasses.org/httpclass
|
I'm using curl because it was used in an online service that we are implementing.
Thanks for you suggestion,
Matt