Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7071217
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:39:41+00:00 2026-05-28T05:39:41+00:00

In quite a few curl examples people use: curl_setopt($ch, CURLOPT_HEADER, 0); What is the

  • 0

In quite a few curl examples people use:

curl_setopt($ch, CURLOPT_HEADER, 0);

What is the benefit of doing this?

I managed to display an image and I want to know what options I should put on/off and why.

curl_setopt($ch, CURLOPT_BINARYTRANSFER,1); // use?
curl_setopt($curlGetToken, CURLOPT_ENCODING, 'gzip'); // does it slow down MY server
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T05:39:41+00:00Added an answer on May 28, 2026 at 5:39 am

    When CURLOPT_HEADER is set to 0 the only effect is that header info from the response is excluded from the output. So if you don’t need it that’s a few less KBs that curl will return to you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Seems quite a few people have encountered this issue on the official Apple Developer
There are quite a few asp.net mvc code examples by different people at www.asp.net/mvc,
I've developed quite a few local apps, however this is the first time I'm
I have been looking at this for quite few hours and I don't think
I've met quite a few people lately who says that 3rd party libraries doesn't
I've written quite a few jQuery plugins in the past and this problem has
We use quite a few Grails plugins for our application and apparently some of
I have quite a few working examples of jqGrid, and yesterday I added a
I want to add logging to quite few classes in my program. Do I
I've seen quite a few example C implementations of linked lists on this site,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.