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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T10:07:56+00:00 2026-05-13T10:07:56+00:00

Ive seen a folder called cgi-bin quite long while using apache. How do scripts

  • 0

Ive seen a folder called cgi-bin quite long while using apache.

How do scripts help me?

how can i use them?

I’ve used php and ajax only for web development!

  • 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-13T10:07:56+00:00Added an answer on May 13, 2026 at 10:07 am

    G’day,

    A web server, e.g. Apache, just sends back static content is response to a client request for content. For example a request for http://www.myserver.com/index.html typically causes the server to open the file and return the content of the file wrapped with the relevant http components.

    Basically CGI is a technique for generating such web pages dynamically via other applications which are run by the web server on an as-needed basis.

    The directory cgi-bin is typically used to house the scripts being run.

    Though it’s heavily focused on Perl The book “CGI Programming with Perl” has an excellent intro about CGI.

    Edit: As asked in the comments below, “if PHP can take care of dynamic content, then what’s the need for CGI”. There’s a few points here.

    1. out of the box, PHP can be pretty slow. CGI, especially in its mod_perl guise, or when using app’s built in compiled languages,
    2. PHP doesn’t have very strong error handling, but this can be worked around,
    3. I don’t think that there’s real support for ASP, Windows app’s or DB’s, and
    4. PHP security is a bit of a worry, e.g. having register_globals enabled, and PHP’s flaws are extremely well known.

    The design of the PHP language itself also contains many inconsistencies, e.g.

    • a fairly useless object model,
    • scoping is fairly bad,
    • inconsistent naming, and
    • poor organisation of the standard library.

    I believe that PHP5 goes a long way to improving these points.

    While security is always a concern, with CGI implementations you are able to minimise the security problem in well publicised ways.

    HTH

    cheers,

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

Sidebar

Related Questions

I've seen in several examples, each module contains a folder called Model, and all
It is not the first time i see it Ive seen in Facebook source
Im working on a game, and ive seen a lot of memory consuption, im
i have a general question about properties and ivars. ive seen many different examples
I've seen another reference to this but I can't understand the response. I am
I've seen Ruby code with classes called like methods: FactoryGirl(:factory_name) # => returns a
I've seen the HashCodeBuilder of Apache Commons Lang and the Eclipse hashCode() generation. I
I've seen discussed the MVC project structure using a UI Project and a Code
Well i've seen this being done in another project, which was also using windows
OK I've seen a few people with this issue - but I'm already using

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.