CGI Scripting

Things I Got Annoyed About

  • Call functions before any html printing - your parems will hence be set before the printing, whereas otherwise things will be printed beforehand.
  • To call a cgi script from your cgi, just run it: ‘x.cgi`. It prints to stdout, so if you remove the <start_html> and <end_html> from your x.cgi, it’ll just add into the existing html fine.