cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Logging into a site

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 14 Dec 2005 15:54:45 -0800

On Wed, Dec 14, 2005 at 05:50:14PM -0500, ccs wrote:
> $c = curl_init(https://secure.registerapi.com/account/login.php); // have
> tried other URLs

Unless PHP/CURL allows this method of setting a URL (in which case I would
expect the URL would have to be in quotes), this isn't where you set it--
you need to specify it as a curl_setopt with CURLOPT_URL.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2005-12-15