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

curl-and-php

Re: help

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 27 Feb 2004 10:29:05 +0100 (CET)

On Fri, 27 Feb 2004, Philip Abraham wrote:

> We are developing a Real estate site in PHP. The real estate datas will be
> fetched from a third party site(RETS server).We need to connect to the third
> party side using PHP. The third party site has digest authentication. Is it
> possible to connect to the site using CURL. Will Curl support digest
> authentication?.

curl already supports Digest. The problem I believe is the PHP/CURL module
that hasn't been adjusted to this.

> Third party site URL is "http://rets.hicentralmls.com/rets/login". Our main
> requirement is to fetch Real estate data from the site and display it on our
> site, but we are stuck in the login procedure.

Have you tried doing it with the command line tool curl?

> Any method other than CURL?. We tried "fsockopen", but it failed (Always
> showing "page not found error").

Certainly you can proabably do it with "fsockopen", but it will require quite
some code for you to implement Digest and everything.

(I am not a PHP coder, I might be entirelly wrong.)

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
Received on 2004-02-27