Re: [PHP] cURL uses

2006-11-16 Thread clive

Dave Goodchild wrote:

You would use cURL to achieve the things cURL is built to achieve?

Wow that answer is not even worth the calories your burned type it.

"Theres not such thing as stupid questions, only stupid answers"

In your case this phrase holds some truth.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] cURL uses

2006-11-15 Thread cajbecu

well, there are more reasons you should use cURL ..
- control and flexibility of the output,
- post variables,
- can interact with secure servers (ssl - supports certificates)
- can use with proxys (http/socks)
- set timeouts
- easily modify headers :)
- use different ip`s of the server when it`s used (if it is configured to do so)

please read documentation at php.net/curl before changing your mind to
not use it. it helps you a lot in your applications. an old frend told
me.. you`ll love this class - what to see.. it happend  :)


On 11/15/06, Philip Thompson <[EMAIL PROTECTED]> wrote:

Hi.

I've been doing some reading trying to figure out why I would want to
use cURL. I have not found a solid reason yet. Does anyone have a
useful example on why you would want to use cURL?

Thanks,
~Philip

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] cURL uses

2006-11-15 Thread Eric Butera

On 11/15/06, Philip Thompson <[EMAIL PROTECTED]> wrote:

Hi.

I've been doing some reading trying to figure out why I would want to
use cURL. I have not found a solid reason yet. Does anyone have a
useful example on why you would want to use cURL?

Thanks,
~Philip

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Interfacing with payment/shipping gateway APIs.  For example, in my
store I must send post data to a payment gateway to tell them the
amount, cc#, etc. and they will return text telling me the transaction
passed/failed/etc.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] cURL uses

2006-11-15 Thread Jon Anderson

Philip Thompson wrote:
I've been doing some reading trying to figure out why I would want to 
use cURL. I have not found a solid reason yet. Does anyone have a 
useful example on why you would want to use cURL? 
It allows significant configurability and flexibility over PHP's more 
direct functions, for example, the ability to set a timeout, or get more 
direct control over output. You only have to read the curl documentation 
to see that it can do a lot of things that other PHP functions just 
can't do.


I would suggest that you probably shouldn't try to find a reason to use 
curl, rather a reason to use curl will find you.


jon

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] cURL uses

2006-11-15 Thread Dave Goodchild

You would use cURL to achieve the things cURL is built to achieve?


[PHP] cURL uses

2006-11-15 Thread Philip Thompson

Hi.

I've been doing some reading trying to figure out why I would want to  
use cURL. I have not found a solid reason yet. Does anyone have a  
useful example on why you would want to use cURL?


Thanks,
~Philip

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php