|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2018-09-21 10:58 UTC] requinix@php.net
-Status: Open
+Status: Feedback
[2018-09-21 10:58 UTC] requinix@php.net
[2018-09-21 11:39 UTC] requinix@php.net
-Status: Feedback
+Status: Duplicate
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 14:00:01 2025 UTC |
Description: ------------ When called curl_exec($ch); function it not work but same code run on another machine then it work properly (another machin-PHP version 5.3 ) ********** echo("1 !!!\n"); $ch = curl_init(); echo("2 !!!\n"); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_POST, 1); echo("3 !!!\n"); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); echo("4 !!!\n"); curl_setopt($ch, CURLOPT_POSTFIELDS,$post); curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); echo("5 !!!\n"); //execute post $output = curl_exec($ch); echo("6 !!!\n"); echo($output."Output !!!\n"); //close connection curl_close($ch); echo("7 !!!\n"); *********** Please Check Attach file for more ref Expected result: ---------------- Just add expected result in php error.png file Please check file