diff --git a/QuickPay/API/Request.php b/QuickPay/API/Request.php index 149c88f..efb485e 100644 --- a/QuickPay/API/Request.php +++ b/QuickPay/API/Request.php @@ -164,7 +164,7 @@ protected function execute($request_type, $form = array()) } // Store received headers in temporary memory file, remember sent headers - $fh_header = fopen('php://memory', 'w+'); + $fh_header = fopen('php://temp', 'w+'); curl_setopt($this->client->ch, CURLOPT_WRITEHEADER, $fh_header); curl_setopt($this->client->ch, CURLINFO_HEADER_OUT, true);