Bug #76912 [Opn->Fbk]: curl_exec($ch) function not work properly in php Version 7.2.7 working on V5.3
| From: | requinix@php.net | Date: | Fri, 21 Sep 2018 11:39:58 +0000 |
| Subject: | Bug #76912 [Opn->Fbk]: curl_exec($ch) function not work properly in php Version 7.2.7 working on V5.3 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-217181@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76912&edit=1
ID: 76912
Updated by: requinix@php.net
Reported by: sushil dot adsare at konnet dot co dot in
Summary: curl_exec($ch) function not work properly in php
Version 7.2.7 working on V5.3
-Status: Open
+Status: Feedback
Type: Bug
Package: cURL related
Operating System: windows 10
PHP Version: 7.2Git-2018-09-21 (Git)
Block user comment: N
Private report: N
New Comment:
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2018-09-21 11:35:29] sushil dot adsare at konnet dot co dot in
Description:
------------
Code
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($ch, CURLOPT_POSTFIELDS,$post);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
//execute post
$output = curl_exec($ch);
echo($output."Output !!!\n");
//close connection
curl_close($ch);
*************
This code runnin on Php v 5.3 but after update php version to 7.2.7
this is give expected result
I try this code another pc which have php V5.3 it work properly
Test script:
---------------
please check function get_anx_status() from attach file
i just add some print info for my understanding
Expected result:
----------------
Expected result is curl execute and pass info to other php page
Same Code is running on other machine, just have Version of php 5.3
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76912&edit=1