note 25197 added to function.curl-setopt

From: Date: Fri, 13 Sep 2002 19:34:55 +0000
Subject: note 25197 added to function.curl-setopt
Groups: php.notes 
Request: Send a blank email to php-notes+get-36645@lists.php.net to get a copy of this message
If you set return transfer to 1 and are sending a post form and find that this crashes php try setting follow location to 1 also. I'm not exactly sure why this crashed, but after i used follow it stopped. curl_setopt ($sess, CURLOPT_FOLLOWLOCATION, '1'); curl_setopt ($sess, CURLOPT_RETURNTRANSFER, '1'); -- http://www.php.net/manual/en/function.curl-setopt.php http://master.php.net/manage/user-notes.php?action=edit+25197 http://master.php.net/manage/user-notes.php?action=delete+25197 http://master.php.net/manage/user-notes.php?action=reject+25197

« previous php.notes (#36645) next »