note 57117 rejected from ref.curl by betz

From: Date: Mon, 26 Sep 2005 22:44:23 +0000
Subject: note 57117 rejected from ref.curl by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-95827@lists.php.net to get a copy of this message
Note Submitter: vip at Linux dot pl ---- If You do: <?php $ch = curl_init(); // ... curl_setopt($ch, CURLOPT_COOKIEFILE, "cookie.txt"); curl_setopt($ch, CURLOPT_COOKIEJAR, "cookie.txt"); ?> and do <?php curl_exec($ch); ?> only one time, You won't get cookie.txt written. You must do: <?php $ch = curl_init(); curl_close($ch); ?> after it, to get the file. Strange for me. (php-cli-5.0.5, curl-7.14.0)

« previous php.notes (#95827) next »