FormProcessingWithCGI

FormProcessingWithCGI - CSE 102 Introduction to Web Design...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
CSE 102 Introduction to Web Design and Programming Form Processing with CGI
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
First, everyone needs to setup their Sparky account for CGI Instructions at: http://www.sinc.sunysb.edu/helpdesk/docs/webdevelop add a new directory called “cgi-bin” to your www directory in all HTML forms, you will reference your CGI programs using the URL: http://www.sinc.sunysb.edu/cgi-bin/cgiwrap/rmckenna/???.cgi instead of rmckenna use your Sparky login name instead of ??? use the name of the cgi script you wish to use For using perl (a scripting programming language) inside CGI programs, you must reference #!/usr/local/bin/perl
Background image of page 2
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Web Page with Forms</title> <link rel="stylesheet" type="text/css" href="./css/form.css" /> </head> <body> <p style="font-weight: bold; font-size: larger"> Complete this form:</p> <form method="post" action="http://www.sinc.sunysb.edu/cgi-bin/cgiwrap/ ??? /hello.cgi"> <table width="400"> <tr> <td class="fla"><label for="name">Full Name:</label></td> <td><input id="name" name="name" size="35" /></td> </tr>
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 8

FormProcessingWithCGI - CSE 102 Introduction to Web Design...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online