CGI notes - PowerPoint PPT Presentation

1 / 2
About This Presentation
Title:

CGI notes

Description:

Use .cgi extension on the script file. Place cgi scripts under public_html/cgi-bin. Launch in browser like this: www.utdallas.edu/~kcooper/cgi-bin/test_gci.cgi ... – PowerPoint PPT presentation

Number of Views:986
Avg rating:3.0/5.0
Slides: 3
Provided by: kendra6
Category:
Tags: cgi | bin | cgi | notes | world

less

Transcript and Presenter's Notes

Title: CGI notes


1
CGI notes
  • Common Gateway Interface (CGI)
  • CGI is a standard http//www.w3.org/CGI
  • CGI is not a language
  • can use bash, perl, php, c, etc. to create a CGI
    script
  • An HTTP server is often used as a gateway to a
    legacy information system for example, an
    existing body of documents or an existing
    database application.
  • The Common Gateway Interface is an agreement
    between HTTP server implementers about how to
    integrate such gateway scripts and programs.
  • Commonly used with html to build forms to access
    databases
  • Sample files available kcooper/public_html/cgi-bi
    n

2
CGI
  • test_cgi.cgi
  • Very simple (hello world) webpage
  • test_cgi_2.cgi
  • Simple webpage
  • Notes
  • Use .cgi extension on the script file
  • Place cgi scripts under public_html/cgi-bin
  • Launch in browser like this
  • www.utdallas.edu/kcooper/cgi-bin/test_gci.cgi
Write a Comment
User Comments (0)
About PowerShow.com