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 7736609
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T07:46:54+00:00 2026-06-01T07:46:54+00:00

I have only recently been introduced to curl and am working on a certain

  • 0

I have only recently been introduced to curl and am working on a certain php script in Unix which runs curl to check the state of one of our monitoring systems. Sorry if what I ask is silly.

Basically, I wonder if the Exit Codes can be quickly translated to what they mean, as is described in this page (scroll down to exit codes). Is there a unix or php command to which I can send the curl exit code? Basically it would be ideal if the output of my script could translate the curl exit codes on the fly so that the user would know exactly what went wrong without having to look up the exit code on the internet.

Many thanks!

  • 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-06-01T07:46:56+00:00Added an answer on June 1, 2026 at 7:46 am

    Sure, it’s called curl_error() – although the wording of your question almost suggests that you are exec()ing the command line cURL binary – is that the case? Because you really should be using the PHP extension, it is available as standard on most installation these days…

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

Sidebar

Related Questions

I have been working with relational databases for sometime, but it only recently occurred
I have been using UNIX for years and the dcop command only recently came
I have been working on forms only recently and I am still puzzeld by
I have only recently started using CakePHP and have been unable to get validation
I have only recently started working with the MVC approach, so I suppose this
I have an iPhone app, which is running only in landscape mode, but recently
I'm a longtime python developer and recently have been introduced to Prolog. I love
I've recently been working on an ACORD P&C compliant web service and have run
I have recently been working with C2DM on a Samsung Galaxy Tab 10.1 running
I have recently been working on a exercise in a book I have been

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.