Help - Search - Member List - Calendar
Full Version: curl help
WorkTheWeb Forums > Webmaster Resources > PHP Help
Support our Sponsors!
Matt
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
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
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


PHP Help | Linux Help | Web Hosting | Reseller Hosting | SSL Hosting
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2006 Invision Power Services, Inc.