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

curl-and-php

RE: PHP/CURL on IIS (was Re: (no subject))

From: Raasch,David <DRAASCH_at_cerner.com>
Date: Sun, 29 May 2005 13:46:33 -0500

>On Sun, 29 May 2005, Raasch,David wrote:
>(Please use a sensible subject when you post.)

Yeah, sorry about that! It was one of those things where I remembered
it INSTANTLY after I clicked "send".

> I'm now trying to write a basic script to just establish a connection
> to this other server and log in. Now, I know this application expects
> me to give it a username and password, so I put the following into my
script:
>
> curl_setopt($ch, CURLOPT_HTTPAUTH, "CURLAUTH_NTLM");

Is that really how you are supposed to set that option? I mean with the
quotes?

That was it, Daniel! I removed the quotes and now I appear to be
authorizing and getting in!
HTTP/1.1 200 OK

Thanks!

-= Dave =-

CONFIDENTIALITY NOTICE

This message and any included attachments
are from Cerner Corporation and are intended
only for the addressee. The information
contained in this message is confidential and
may constitute inside or non-public information
under international, federal, or state
securities laws. Unauthorized forwarding,
printing, copying, distribution, or use of such
information is strictly prohibited and may be
unlawful. If you are not the addressee, please
promptly delete this message and notify the
sender of the delivery error by e-mail or you
may call Cerner's corporate offices in Kansas
City, Missouri, U.S.A at (+1) (816)221-1024.
---------------------------------------- --
Received on 2005-05-29