techstaff:how_to_use_cgi
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
techstaff:how_to_use_cgi [2016/04/22 16:05] – [Example] kauffman | techstaff:how_to_use_cgi [2021/09/22 16:16] (current) – removed ctopper | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======CGI Programming====== | ||
- | The purpose of the CGI service is to allow CS users to learn CGI programming and make small, dynamic sites in their course work. | ||
- | These mechanisms are valid for any CS computer. linux.cs.uchicago.edu is recommended for anyone that understands (SSH), otherwise any machine in our lab will do. | ||
- | |||
- | To use our CGI server, you must first be registered in a class that requires it. Your instructor will let techstaff know of this requirement ahead of time and you will automatically get access. | ||
- | |||
- | =====Directories===== | ||
- | All files related to the course will be hosted out of your home directory in a folder called '' | ||
- | |||
- | ====File Permissions==== | ||
- | Techstaff does set some extended permissions on these [[techstaff: | ||
- | |||
- | You should not have to worry about modifying any permissions below the '' | ||
- | |||
- | |||
- | =====Example===== | ||
- | PHP is a language designed explicitly for web programming. A single line in the file html/ | ||
- | |||
- | In this example please keep in mind that '' | ||
- | < | ||
- | <?php print(" | ||
- | </ | ||
- | You can run your php file from the command line: | ||
- | < | ||
- | php hello.php | ||
- | </ | ||
- | Or from your browser: | ||
- | < | ||
- | http://< | ||
- | </ | ||
- | |||
- | |||
- | For additional assistance with this service, email [[techstaff@cs.uchicago.edu]]. |