cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: How i can use curl option instead php fputs function?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 11 Mar 2003 08:05:08 +0100 (CET)

On Tue, 11 Mar 2003, AzKar wrote:

> Yes Daniel, i know. But really above code not sending anything. Just open
> connection and get first answer (greetings). Here is all okay anyway. But,
> when i try send command in xml format to server by GET or POSt method i
> haven't success, because server reset connect. And my problem is finding
> method sending request to server which server allow. Just analog of
> function sendcommand

That function worked because you used the fsockopen (or whatever it is
called) approach before. When you use the curl-approach you need to adjust to
how curl works and is supposed to be used.

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-03-11