php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #76912 curl_exec($ch) function not work properly in php Version 7.2.7 working on V5.3
Submitted: 2018-09-21 11:35 UTC Modified: 2018-11-18 22:36 UTC
From: sushil dot adsare at konnet dot co dot in Assigned:
Status: No Feedback Package: cURL related
PHP Version: 7.2Git-2018-09-21 (Git) OS: windows 10
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sushil dot adsare at konnet dot co dot in
New email:
PHP Version: OS:

 

 [2018-09-21 11:35 UTC] 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



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-09-21 11:39 UTC] requinix@php.net
-Status: Open +Status: Feedback
 [2018-09-21 11:39 UTC] requinix@php.net
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.



 [2018-11-18 22:36 UTC] cmb@php.net
-Status: Feedback +Status: No Feedback
 [2018-11-18 22:36 UTC] cmb@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 02:01:28 2024 UTC