note 57117 added to ref.curl

From: Date: Sat, 24 Sep 2005 10:40:09 +0000
Subject: note 57117 added to ref.curl
Groups: php.notes 
Request: Send a blank email to php-notes+get-95701@lists.php.net to get a copy of this message
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) ---- Manual Page -- http://www.php.net/manual/en/ref.curl.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+57117 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+57117&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+57117&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+57117&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+57117&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+57117&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+57117&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+57117&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+57117&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#95701) next »