@balawant add this to your curl:
curl_setopt(CURLOPT_RETURNTRANSFER, true);
This will return the transfer as a string of the return value of curl_exec() instead of outputting it out directly.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi All, I want to hide curl response message from the page header.......guide me any one .It executes multiple curl. Message is as following.
[{"responseCode":"Message SuccessFully Submitted"},{"msgid":"7990071"}]{"sell_do_lead_id":"4711","sell_do_lead_verified":"false","error":[],"selldo_lead_details":{"lead_already_exists":true,"lead_created_at":"2021-01-08T13:37:49.824+05:30","exists_by":"4711","stage":"incoming","stage_changed_on":null,"last_sv_conducted_on":null}}
@balawant add this to your curl:
curl_setopt(CURLOPT_RETURNTRANSFER, true);
This will return the transfer as a string of the return value of curl_exec() instead of outputting it out directly.
Please or to participate in this conversation.