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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
7 + 34 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Sat Apr 20 08:01:30 2024 UTC