note 88640 modified in function.curl-setopt by danbrown

From: Date: Tue, 03 Feb 2009 18:48:57 +0000
Subject: note 88640 modified in function.curl-setopt by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-150158@lists.php.net to get a copy of this message
if unserialize() returns FALSE on a serialized PHP object due to an extraneous string (e.g. "1") appended at the end of the object, you need to set the ff cURL option: <?php curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); ?> --was-- if unserialize() returns FALSE on a serialized PHP object due to an extraneous string (e.g. "1") appended at the end of the object, you need to set the ff cURL option: curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); http://php.net/manual/en/function.curl-setopt.php

« previous php.notes (#150158) next »