Hello,

on 02/05/2008 10:34 PM Louie Miranda said the following:
> I was able to create a working CURL connection and it was great.
> 
> Although, i have another problem.
> 
> 
>    1. file: connect - I connect via a CURL to a URL and sends two
>    parameters (application, just wait and hangs) -- this is intentional
>    2. file: connect - Receives a reply of the two parameters that i had
>    just sent
>    3. file: connect - sends a XML post to the remote url (remote url,
>    closes the connection and application)
> 
> Could i send two CURL request in one instance? while waiting?

I am not sure how to do that in a simple way with Curl. The few times I
have used Curl directly, I used custom HTTP requests instead of other
options.

Nowadays I use this HTTP client class that wraps the complexity of the
HTTP protocol and uses preferrably fsockopen to send HTTP requests. Take
a look the test_http_soap.php example which seems to do something
similar to what you want:

http://www.phpclasses.org/httpclient


-- 

Regards,
Manuel Lemos

PHP professionals looking for PHP jobs
http://www.phpclasses.org/professionals/

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

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

Reply via email to