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

  • Home
  • SEARCH
  • 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

Ask A Question

Stats

  • Questions 539k
  • Answers 539k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer The question is very confusing. Does defining an instance as… May 17, 2026 at 2:23 am
  • Editorial Team
    Editorial Team added an answer No, you can't. JSP is evaluated on the server side,… May 17, 2026 at 2:23 am
  • Editorial Team
    Editorial Team added an answer Dim logo As New LinkedResource(Server.MapPath("images1/links/beach-icon.jpg"), "image/jpeg") May 17, 2026 at 2:23 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I've seen a lot of games use something similar to a .DAT file or
I've always taught myself and others to think of the bin folder as being
When using the normal architecture (I guess it's called controller-based architecture), zend recommends the
I'm trying to copy a folder recursively to multiple destination folders using MSBuild's Copy
I've created an Html extension method in Helper class, but I can not get
Using the following steps: (I have checked this similar post , which does not
I'm not quite sure how .NET and C# 3.5 handles the settings of applications
I've seen a number of different solutions for doing this but I wonder if
I've seen many questions asked about how to add images to the simulator and
I have seen samples for Mercurial ignore files for Visual Studio , amongst others.

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.