CGI. Web 1. CGI Unix Apache Perl. L: K06005 PUBLIC_HTML CGI-BIN sotusei jcode2.pl kokorogy1.dat

Size: px
Start display at page:

Download "CGI. Web 1. CGI Unix Apache Perl. L: K06005 PUBLIC_HTML CGI-BIN sotusei jcode2.pl kokorogy1.dat"

Transcription

1 CGI Web 1. CGI Unix Apache Perl L: K06005 PUBLIC_HTML CGI-BIN sotusei jcode2.pl kokorogy1.dat jpg JPEG 17.jpg 1.jpg 10.jpg 11.jpg 12.jpg 13.jpg 14.jpg 16.jpg 15.jpg 2.jpg 3.jpg 4.jpg 5.jpg 6.jpg 7.jpg 8.jpg 9.jpg Thumbs.db HTML HTML home.html

2 kaisetsu1.html kaisetsu2.html kokorogy1.html kokorogy2.html top.html home.bak kaisetsu1.bak kaisetsu2.bak kokorogy1.bak kokorogy2.bak top.bak kokorogy1.files 111.gif 13.jpg 15.jpg 2.jpg 3.jpg 4.jpg 5.jpg 6.jpg 8.jpg 9.jpg bbn.gif.gif hr.gif style.css Thumbs.db top.gif kaisetsu1.files 1.jpg 10.jpg 5.jpg 8.jpg back.gif.gif bg.gif hr.gif style.css Thumbs.db top.gif gif GIF rekk01.gif Thumbs.db CGI CGI kokorogy1.cgi kokorogy2.cgi CGI #! /usr/local/bin/perl require 'jcode.pl'; $titlename = ' '; #

3 $thema = ' '; # $datafile = 'kokorogy1.dat'; # $backurl = '../index.html'; # URL CGI HYPERLINK " url $backname = ' '; # $makeurl = ' HYPERLINK " gi-bin/sotusei/cgi/kokorogy1.html '; # URL HYPERLINK " $cgi = 'kokorogy1.cgi'; # $nerai = ' '; # $kaisetu = "kaisetsu1.html"; # URL $body = '<body bgcolor="#ffffff" background="bg.gif">'; #body $hr = 'hr.gif'; # $titlecolor = "#f04499"; # $password = "master"; # &formdecode; &open; if($mode eq 'touroku'){ &touroku; elsif($mode eq 'personal'){ &personal; elsif($mode eq 'admin'){ &admin; elsif($mode eq 'del'){ &del; else{ &view; exit; # sub formdecode { if ($ENV{'REQUEST_METHOD' eq "POST") { read(stdin,$buffer,$env{'content_length'); else { $buffer = = split(/&/,$buffer); foreach $pair (@pairs) { ($name, $buffer) = split(/=/, $pair); $buffer =~ tr/+/ /; $buffer =~ s/%([a-fa-f0-9][a-fa-f0-9])/pack("c", hex($1))/eg; &jcode'convert(*buffer,'sjis'); if ($buffer =~ /(.*) ", "(.*)/) { &error(' ',' ",".'); $buffer =~ s/<!--(. n)*-->//g; $buffer =~ s/</</g; $buffer =~ s/>/>/g; $buffer =~ s/ t//g; $buffer =~ s/ r n/ n/g; $buffer =~ s/ cm//g; $buffer =~ s/ r/ n/g; $buffer =~ s/ n/<br>/g; $FORM{$name = $buffer; $mode = $FORM{'mode';

4 $namae = $FORM{'namae'; $sex = $FORM{'sex'; $q1 = $FORM{'q1'; $q2 = $FORM{'q2'; $q3 = $FORM{'q3'; $q4 = $FORM{'q4'; $who = $FORM{'who'; $host = $ENV{'REMOTE_HOST'; $add = $ENV{'REMOTE_ADDR'; if ($host eq "" ){ $host = $add; if ($host eq $add) { $host = ((gethostbyaddr(pack('c4',split(/./,$add)),2))[0]); if ($host eq "" ){ $host = $add; sub open { open(note,"<$datafile") &error(' ',"$datafile $datafile = <NOTE>; close(note); sub touroku { &timeget; # &regist; # &write; # &thank; # exit; sub timeget { ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = = (' ',' ',' ',' ',' ',' ',' '); $date_now = sprintf("%01d %01d (%s)%02d %02d ",$mon +1,$mday,$wday_array[$wday],$hour,$min); sub regist { $ref = $ENV{'HTTP_REFERER'; $ref_url = $makeurl; $ref_url =~ s/ ~/.*/g; #if (!($ref =~ /$ref_url/i)) { &error(' ',"."); if ( $namae eq "") { &error(' ',' '); if ( $q1 eq "" $q2 eq "" $q3 eq "" $q4 eq "") { &error(' ',' '); foreach $rline (@DATA) { ($r_num,$r_namae,$r_sex,$r_date_now,$r_q1,$r_q2,$r_q3,$r_q 4,$r_host) = split(" t",$rline); if ( $namae eq $r_namae && $host eq $r_host) {&error(' ',' '); sub write {

5 $num = scalar(@data); $value = "$num t$namae t$sex t$date_now t$q1 t$q2 t$q3 t$q4 t$host t n"; push(@data,$value); open(note,">$datafile"); eval 'flock(note,2);'; print eval 'flock(note,8)'; close(note); sub thank { $subtitle = " "; &html_header print <<"_HTML_"; <center><font size=4> $namae $namae <a href=$cgi?mode=personal&who=$num> </a> <br><br> <a href=$cgi> </a> <a href=$kaisetu> </a> <br> </font> </center> _HTML_ &html_footer; sub admin{ if ($FORM{'pass' ne $password){ &view;return; $subtitle = " "; &html_header; print "</center> n<ul>"; if (@DATA){ print "<form action= "$cgi " method= "POST "> n"; print "<input type= "hidden " name= "mode " value= "del "> n"; print "<input type= "hidden " name= "pass " value= "$FORM{'pass' "> n"; foreach $line (@DATA) { ($num,$namae,$sex,$date_now,$q1,$q2,$q3,$q4,$host) = split(" t",$line); print "<li> <input type= "checkbox " name= "$num "> n"; print "<a href=$cgi?mode=personal&who=$num>$namae </a> n"; print "<font color=#888888> $date_now $host </font> n"; print "<input type= "submit " value= " "> n"; else { print " "; print "</ul></body></html> n"; exit;

6 sub del{ if ($FORM{'pass' ne $password){ &view;return; foreach ($rnum,$rnamae,$rsex,$rdate,$rq1,$rq2,$rq3,$rq4,$rhost) = split(" t",$data); if ($FORM{$rnum ne "on"){ push(@newdata,$data); open(note,">$datafile"); eval 'flock(note,2);'; print eval 'flock(note,8)'; close(note); &open; &view; sub view{ $subtitle=" "; &html_header; print "<ul> n"; foreach $line (@DATA) { ($num,$namae,$sex,$date_now,$q1,$q2,$q3,$q4,$host) = split(" t",$line); print "<li><a href= "$cgi?mode=personal&who=$num ">$namae </a><font color=# size=-1>--- $date_now </font> n"; print <<"_HTML_"; </ul> <p align="right"> <form action="$cgi" method="post"> <input type="password" name="pass" size=10> <input type="hidden" name="mode" value="admin"> <input type="submit" value=" "> </form> _HTML_ &html_footer; sub personal{ if ($who eq ""){ &error(' '," "); foreach $data(@data){ ($rnum,$rnamae,$rsex,$rdate,$rq1,$rq2,$rq3,$rq4,$rhost) = split(" t",$data); if ($who == $rnum ){ $person = $data;last; ($num,$namae,$sex,$date_now,$q1,$q2,$q3,$q4,$host) = split(" t",$person); $subtitle = "$namae "; &html_header; print << "kokorogy_result_file"; <br> <center>

7 <span id="k"> $namae <font size= "-1 ">( =$sex)</font> <b> $nerai </b> </span> <table bgcolor=#ffffff width=80% cellspacing=10><tr><td> <font size=4 id="q"><i>question 1</i>-----<b>$namae </b></font> <blockquote id="a"> <b>$q1</b> </blockquote> <font size=4 id="q"><i>question 2</i>-----<b>$namae </b></font> <blockquote id="a"> <b>$q2 </b> </blockquote> <font size=4 id="q"><i>question 3</i>-----<b>$namae </b></font> <blockquote id="a"> <b>$q3</b> </blockquote> <font size=4 id="q"><i>question 4</i>-----<b>$namae </b></font> <blockquote id="a"> <b>$q4</b> </blockquote> <br> </td></tr></table> $namae <br></center> <hr> <a href=$backurl>$backname</a> <a href=$cgi> </a> </center> kokorogy_result_file &html_footer; sub html_header{ print "Content-type: text/html n n"; print <<"kokorogy_file"; <html> <head> <LINK REL=STYLESHEET TYPE="text/css" HREF="./style.css" TITLE="Style"> <META http-equiv="content-language" content="ja"> <META http-equiv="content-type" content="text/html; charset=shift_jis"> <title>$titlename $subtitle </title> </head> $body <center> <img src="$hr"><br> <font color="$titlecolor"><h2>$titlename</h2>

8 <h4> $thema $subtitle </h4></font> <img src="$hr"><br> <br> <a href=$backurl>$backname</a> <a href=$kaisetu> </a> <br></center> kokorogy_file sub html_footer{ print <<"_HTML_"; <p align=right><small>!! 2 </small></p> </body></html> _HTML_ sub error { print "Content-type: text/html n n"; print "<html><head><title>$titlename</title></head> n"; print "$body n"; print "<h1>$_[0]</h1> n"; print "<h3>$_[1]</h3> n"; print " [ ]. n"; print "</body></html> n"; exit; MY TOY BOX

(25) i. Web Compact HTML UNIX MAGAZINE NTT DoCoMo i 1. Web 1 `Compact HTML. i Compact HTML. Compact HTML.

(25) i. Web Compact HTML UNIX MAGAZINE NTT DoCoMo i 1. Web 1 `Compact HTML. i Compact HTML. Compact HTML. (25) i NTT DoCoMo i 1 i Web 1 `Compact HTML Web i Compact HTML i Compact HTML Web Compact HTML HTML 4.0 1998 1 W3C [1, 2] Motorola Nokia WAP (Wireless Application Protocol) 2 Compact HTML Web Compact HTML

More information

Forms, CGI. Cristian Bogdan 2D2052 / 2D1335 F5 1

Forms, CGI. Cristian Bogdan 2D2052 / 2D1335 F5 1 Forms, CGI Cristian Bogdan 2D2052 / 2D1335 F5 1 Objectives The basics of HTML forms How form content is submitted GET, POST Elements that you can have in forms Responding to forms Common Gateway Interface

More information

Web Development and HTML. Shan-Hung Wu CS, NTHU

Web Development and HTML. Shan-Hung Wu CS, NTHU Web Development and HTML Shan-Hung Wu CS, NTHU Outline How does Internet Work? Web Development HTML Block vs. Inline elements Lists Links and Attributes Tables Forms 2 Outline How does Internet Work? Web

More information

Forms, CGI. Objectives

Forms, CGI. Objectives Forms, CGI Objectives The basics of HTML forms How form content is submitted GET, POST Elements that you can have in forms Responding to forms Common Gateway Interface (CGI) Later: Servlets Generation

More information

Networking and Internet

Networking and Internet Today s Topic Lecture 13 Web Fundamentals Networking and Internet LAN Web pages Web resources Web client Web Server HTTP Protocol HTML & HTML Forms 1 2 LAN (Local Area Network) Networking and Internet

More information

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space. HTML Summary Structure All of the following are containers. Structure Contains the entire web page. Contains information

More information

CHAPTER 20. The Guestbook OVERVIEW

CHAPTER 20. The Guestbook OVERVIEW CHAPTER 20 The Guestbook OVERVIEW Our guestbook script, based on the freeware guestbook written by Matt Wright called guestbook.pl, allows users to dynamically manipulate a guestbook HTML file by adding

More information

Integrating legacy software with a Web front end

Integrating legacy software with a Web front end Integrating legacy software with a Web fron... 1 of 6 http://web.archive.org/web/200006090127... Integrating legacy software with a Web front end How to solve your legacy access problems with Web-based

More information

Forms, CGI. HTML forms. Form example. Form example...

Forms, CGI. HTML forms. Form example. Form example... Objectives HTML forms The basics of HTML forms How form content is submitted GET, POST Elements that you can have in forms Responding to forms CGI the Common Gateway Interface Later: Servlets Generation

More information

CGI Programming. What is "CGI"?

CGI Programming. What is CGI? CGI Programming What is "CGI"? Common Gateway Interface A means of running an executable program via the Web. CGI is not a Perl-specific concept. Almost any language can produce CGI programs even C++ (gasp!!)

More information

CSC Web Technologies, Spring HTML Review

CSC Web Technologies, Spring HTML Review CSC 342 - Web Technologies, Spring 2017 HTML Review HTML elements content : is an opening tag : is a closing tag element: is the name of the element attribute:

More information

How to Set Up a Custom Challenge Page for Authentication

How to Set Up a Custom Challenge Page for Authentication How to Set Up a Custom Challenge Page for Authentication Setting up a custom challenge page is a three step process: 1. Create a custom challenge page. Deploy the created custom challenge page on your

More information

Web Engineering. Basic Technologies: Protocols and Web Servers. Husni

Web Engineering. Basic Technologies: Protocols and Web Servers. Husni Web Engineering Basic Technologies: Protocols and Web Servers Husni Husni@trunojoyo.ac.id Basic Web Technologies HTTP and HTML Web Servers Proxy Servers Content Delivery Networks Where we will be later

More information

AGENDA. HTML CODING YOUR HOMEPAGE [ Part IV ] :: NAVIGATION <nav> :: CSS CODING FOR HOMEPAGE [ <nav> & child elements ] CLASS :: 13.

AGENDA. HTML CODING YOUR HOMEPAGE [ Part IV ] :: NAVIGATION <nav> :: CSS CODING FOR HOMEPAGE [ <nav> & child elements ] CLASS :: 13. :: DIGITAL IMAGING FUNDAMENTALS :: CLASS NOTES CLASS :: 13 04.26 2017 3 Hours AGENDA HTML CODING YOUR HOMEPAGE [ Part IV ] :: NAVIGATION home works

More information

Hyperlinks, Tables, Forms and Frameworks

Hyperlinks, Tables, Forms and Frameworks Hyperlinks, Tables, Forms and Frameworks Web Authoring and Design Benjamin Kenwright Outline Review Previous Material HTML Tables, Forms and Frameworks Summary Review/Discussion Email? Did everyone get

More information

Creating Web Pages. Getting Started

Creating Web Pages. Getting Started Creating Web Pages Getting Started Overview What Web Pages Are How Web Pages are Formatted Putting Graphics on Web Pages How Web Pages are Linked Linking to other Files What Web Pages Are Web Pages combine

More information

Exam Format: Multiple Choice, True/False, Short Answer (3 points each 75 points total) Write-the-page (25 points)

Exam Format: Multiple Choice, True/False, Short Answer (3 points each 75 points total) Write-the-page (25 points) CS-101 Fall 2008 Section 4 Practice Final v1.0m Name: Exam Format: Multiple Choice, True/False, Short Answer (3 points each 75 points total) Write-the-page (25 points) XHTML/CSS Reference: Entities: Copyright

More information

HTML. HTML Evolution

HTML. HTML Evolution Overview stands for HyperText Markup Language. Structured text with explicit markup denoted within < and > delimiters. Not what-you-see-is-what-you-get (WYSIWYG) like MS word. Similar to other text markup

More information

Outline. Lecture 8: CGI (Common Gateway Interface ) Common Gateway Interface (CGI) CGI Overview

Outline. Lecture 8: CGI (Common Gateway Interface ) Common Gateway Interface (CGI) CGI Overview Outline Lecture 8: CGI (Common Gateway Interface ) CGI Overview Between Client and Handler Between Web Server and Handler Wendy Liu CSC309F Fall 2007 1 2 Common Gateway Interface (CGI) CGI Overview http://www.oreilly.com/openbook/cgi/

More information

Outline of Lecture 5. Course Content. Objectives of Lecture 6 CGI and HTML Forms

Outline of Lecture 5. Course Content. Objectives of Lecture 6 CGI and HTML Forms Web-Based Information Systems Fall 2004 CMPUT 410: CGI and HTML Forms Dr. Osmar R. Zaïane University of Alberta Outline of Lecture 5 Introduction Poor Man s Animation Animation with Java Animation with

More information

HTML BEGINNING TAGS. HTML Structure <html> <head> <title> </title> </head> <body> Web page content </body> </html>

HTML BEGINNING TAGS. HTML Structure <html> <head> <title> </title> </head> <body> Web page content </body> </html> HTML BEGINNING TAGS HTML Structure Web page content Structure tags: Tags used to give structure to the document.

More information

As we design and build out our HTML pages, there are some basics that we may follow for each page, site, and application.

As we design and build out our HTML pages, there are some basics that we may follow for each page, site, and application. Extra notes - Client-side Design and Development Dr Nick Hayward HTML - Basics A brief introduction to some of the basics of HTML. Contents Intro element add some metadata define a base address

More information

Chapter 27. HTTP and WWW

Chapter 27. HTTP and WWW Chapter 27 HTTP and WWW 27.1 HTTP Transaction Request Message Response Message Headers Note: HTTP uses the services of TCP on well-known port 80. Figure 27.1 HTTP transaction Figure 27.2 Request message

More information

Date Picker Haim Michael

Date Picker Haim Michael Date Picker Introduction The date picker is one of the most popular jquery widgets in use. It is highly configurable and extremely easy to implement. Introduction Simple Date Picker

More information

Copyright 2011 Sakun Sharma

Copyright 2011 Sakun Sharma Maintaining Sessions in JSP We need sessions for security purpose and multiuser support. Here we are going to use sessions for security in the following manner: 1. Restrict user to open admin panel. 2.

More information

Lab 4 CSS CISC1600, Spring 2012

Lab 4 CSS CISC1600, Spring 2012 Lab 4 CSS CISC1600, Spring 2012 Part 1 Introduction 1.1 Cascading Style Sheets or CSS files provide a way to control the look and feel of your web page that is more convenient, more flexible and more comprehensive

More information

Easy Horizontal Rules and Extra Alignment

Easy Horizontal Rules and Extra Alignment Easy Horizontal Rules and Extra Alignment 015 1 Learning Objectives After this lesson you will be able to Create horizontal rule lines with different thicknesses Create horizontal rule lines with different

More information

1. The basic building block of an HTML document is called a(n) a. tag. b. element. c. attribute. d. container. Answer: b Page 5

1. The basic building block of an HTML document is called a(n) a. tag. b. element. c. attribute. d. container. Answer: b Page 5 Name Date Final Exam Prep Questions Worksheet #1 1. The basic building block of an HTML document is called a(n) a. tag. b. element. c. attribute. d. container. Answer: b Page 5 2. Which of the following

More information

recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML)

recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML) HTML & Web Pages recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML) HTML specifies formatting within a page using tags in its

More information

Summary 4/5. (contains info about the html)

Summary 4/5. (contains info about the html) Summary Tag Info Version Attributes Comment 4/5

More information

What You Will Learn Today

What You Will Learn Today CS101 Lecture 03: The World Wide Web and HTML Aaron Stevens 23 January 2011 1 What You Will Learn Today Is it the Internet or the World Wide Web? What s the difference? What is the encoding scheme behind

More information

A Simple Way to Make Passwords More Effective

A Simple Way to Make Passwords More Effective A Simple Way to Make Passwords More Effective J. Scott Magruder The University of Southern Mississippi 601-266-5099/Fax 601-266-4642 James.Magruder@usm.edu Stanley X. Lewis, Jr. The University of Southern

More information

HTML: Parsing Library

HTML: Parsing Library HTML: Parsing Library Version 4.1.3 November 20, 2008 (require html) The html library provides functions to read html documents and structures to represent them. (read-xhtml port) html? port : input-port?

More information

CSC 121 Computers and Scientific Thinking

CSC 121 Computers and Scientific Thinking CSC 121 Computers and Scientific Thinking Fall 2005 HTML and Web Pages 1 HTML & Web Pages recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language

More information

How to use the Dealer Car Search ebay posting tool. Overview. Creating your settings

How to use the Dealer Car Search ebay posting tool. Overview. Creating your settings How to use the Dealer Car Search ebay posting tool Overview The Dealer Car Search ebay posting tool is designed to allow you to easily create an auction for a vehicle that has been loaded into Dealer Car

More information

HTML HTML. Chris Seddon CRS Enterprises Ltd 1

HTML HTML. Chris Seddon CRS Enterprises Ltd 1 Chris Seddon seddon-software@keme.co.uk 2000-12 CRS Enterprises Ltd 1 2000-12 CRS Enterprises Ltd 2 Reference Sites W3C W3C w3schools DevGuru Aptana GotAPI Dog http://www.w3.org/ http://www.w3schools.com

More information

Form Processing in PHP

Form Processing in PHP Form Processing in PHP Forms Forms are special components which allow your site visitors to supply various information on the HTML page. We have previously talked about creating HTML forms. Forms typically

More information

HTTP and HTML. We will use HTML as a frontend to our webapplications, therefore a basic knowledge of HTML is required, especially in forms.

HTTP and HTML. We will use HTML as a frontend to our webapplications, therefore a basic knowledge of HTML is required, especially in forms. HTTP and HTML We will use HTML as a frontend to our webapplications, therefore a basic knowledge of HTML is required, especially in forms. HTTP and HTML 28 January 2008 1 When the browser and the server

More information

How the Internet Works

How the Internet Works How the Internet Works The Internet is a network of millions of computers. Every computer on the Internet is connected to every other computer on the Internet through Internet Service Providers (ISPs).

More information

D B M G. Introduction to databases. Web programming: the HTML language. Web programming. The HTML Politecnico di Torino 1

D B M G. Introduction to databases. Web programming: the HTML language. Web programming. The HTML Politecnico di Torino 1 Web programming The HTML language The HTML language Basic concepts User interfaces in HTML Forms Tables Passing parameters stored in forms @2017 Politecnico di Torino 1 Basic concepts HTML: HyperText Markup

More information

Site Creator User s Guide

Site Creator User s Guide Site Creator User s Guide Version 1.0 National Rural Telecommunications Cooperative 2121 Cooperative Way Herndon, VA 20171 COPYRIGHT Copyright 2003 by the National Rural Telecommunications Cooperative.

More information

A Balanced Introduction to Computer Science, 3/E

A Balanced Introduction to Computer Science, 3/E A Balanced Introduction to Computer Science, 3/E David Reed, Creighton University 2011 Pearson Prentice Hall ISBN 978-0-13-216675-1 Chapter 2 HTML and Web Pages 1 HTML & Web Pages recall: a Web page is

More information

Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM Advanced Internet Technology Lab.

Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM Advanced Internet Technology Lab. Islamic University of Gaza Faculty of Engineering Department of Computer Engineering ECOM 5049 Advanced Internet Technology Lab Lab # 1 Eng. Haneen El-masry February, 2015 Objective To be familiar with

More information

Spring 2014 Interim. HTML forms

Spring 2014 Interim. HTML forms HTML forms Forms are used very often when the user needs to provide information to the web server: Entering keywords in a search box Placing an order Subscribing to a mailing list Posting a comment Filling

More information

Configuring Hotspots

Configuring Hotspots CHAPTER 12 Hotspots on the Cisco NAC Guest Server are used to allow administrators to create their own portal pages and host them on the Cisco NAC Guest Server. Hotspots created by administrators can be

More information

Web Publishing Basics I

Web Publishing Basics I Web Publishing Basics I Jeff Pankin Information Services and Technology Contents Course Objectives... 2 Creating a Web Page with HTML... 3 What is Dreamweaver?... 3 What is HTML?... 3 What are the basic

More information

SocialMiner Configuration

SocialMiner Configuration This section outlines the initial setup that must be performed when SocialMiner is first installed as well as the ongoing user-configurable options that can be used once the system is up and running. The

More information

Wireframe :: tistory wireframe tistory.

Wireframe :: tistory wireframe tistory. Page 1 of 45 Wireframe :: tistory wireframe tistory Daum Tistory GO Home Location Tags Media Guestbook Admin 'XHTML+CSS' 7 1 2009/09/20 [ ] XHTML CSS - 6 (2) 2 2009/07/23 [ ] XHTML CSS - 5 (6) 3 2009/07/17

More information

week8 Tommy MacWilliam week8 October 31, 2011

week8 Tommy MacWilliam week8 October 31, 2011 tmacwilliam@cs50.net October 31, 2011 Announcements pset5: returned final project pre-proposals due Monday 11/7 http://cs50.net/projects/project.pdf CS50 seminars: http://wiki.cs50.net/seminars Today common

More information

UR what? ! URI: Uniform Resource Identifier. " Uniquely identifies a data entity " Obeys a specific syntax " schemename:specificstuff

UR what? ! URI: Uniform Resource Identifier.  Uniquely identifies a data entity  Obeys a specific syntax  schemename:specificstuff CS314-29 Web Protocols URI, URN, URL Internationalisation Role of HTML and XML HTTP and HTTPS interacting via the Web UR what? URI: Uniform Resource Identifier Uniquely identifies a data entity Obeys a

More information

UNIVERSITY OF TORONTO Faculty of Arts and Science APRIL 2016 EXAMINATIONS. CSC309H1 S Programming on the Web Instructor: Ahmed Shah Mashiyat

UNIVERSITY OF TORONTO Faculty of Arts and Science APRIL 2016 EXAMINATIONS. CSC309H1 S Programming on the Web Instructor: Ahmed Shah Mashiyat UNIVERSITY OF TORONTO Faculty of Arts and Science APRIL 2016 EXAMINATIONS CSC309H1 S Programming on the Web Instructor: Ahmed Shah Mashiyat Duration - 2 hours Aid Sheet: Both side of one 8.5 x 11" sheet

More information

KE Texpress Texhtml Guide

KE Texpress Texhtml Guide KE Texpress Texhtml Guide KE Software Pty Ltd Copyright 1993-2004 KE Software Pty Ltd This work is copyright and may not be reproduced except in accordance with the provisions of the Copyright Act. Contents

More information

PRODUCT DOCUMENTATION. Installing and Implementing Enterprise Contact Center Chat RELEASE 5.1

PRODUCT DOCUMENTATION. Installing and Implementing Enterprise Contact Center Chat RELEASE 5.1 PRODUCT DOCUMENTATION Installing and Implementing Enterprise Contact Center Chat RELEASE 5.1 Document and Software Copyrights Copyright 1998 2009 ShoreTel, Inc. All rights reserved. Printed in the United

More information

c360 Web Connect Configuration Guide Microsoft Dynamics CRM 2011 compatible c360 Solutions, Inc. c360 Solutions

c360 Web Connect Configuration Guide Microsoft Dynamics CRM 2011 compatible c360 Solutions, Inc.   c360 Solutions c360 Web Connect Configuration Guide Microsoft Dynamics CRM 2011 compatible c360 Solutions, Inc. www.c360.com c360 Solutions Contents Overview... 3 Web Connect Configuration... 4 Implementing Web Connect...

More information

Multimedia Systems and Technologies Lab class 6 HTML 5 + CSS 3

Multimedia Systems and Technologies Lab class 6 HTML 5 + CSS 3 Multimedia Systems and Technologies Lab class 6 HTML 5 + CSS 3 Instructions to use the laboratory computers (room B2): 1. If the computer is off, start it with Windows (all computers have a Linux-Windows

More information

HTML Overview. With an emphasis on XHTML

HTML Overview. With an emphasis on XHTML HTML Overview With an emphasis on XHTML What is HTML? Stands for HyperText Markup Language A client-side technology (i.e. runs on a user s computer) HTML has a specific set of tags that allow: the structure

More information

CIS 228 (Fall, 2012) Exam 2, 11/20/12

CIS 228 (Fall, 2012) Exam 2, 11/20/12 CIS 228 (Fall, 2012) Exam 2, 11/20/12 Name (sign) Name (print) email Question 1 2 3 4 5 6 7 8 9 10 TOTAL Score CIS 228, exam 2 1 11/20/12 True or false: Question 1 Unordered lists can contain ordered sub-lists.

More information

1.2 * allow custom user list to be passed in * publish changes to a channel

1.2 * allow custom user list to be passed in * publish changes to a channel ToDoList /*** USAGE: ToDoList() Embed a TODO-list into a page. The TODO list allows users to cre Items that are due are highlighted in yellow, items passed due ar list can be added to any page. The information

More information

CHAPTER 23. The Fortune Cookie

CHAPTER 23. The Fortune Cookie CHAPTER 23 The Fortune Cookie OVERVIEW The fortune cookie script goes through a datafile of fortunes, chooses one of them at random, and then displays it on the Web. The script can also be configured to

More information

SilkTest 2009 R2. Rules for Object Recognition

SilkTest 2009 R2. Rules for Object Recognition SilkTest 2009 R2 Rules for Object Recognition Borland Software Corporation 4 Hutton Centre Dr., Suite 900 Santa Ana, CA 92707 Copyright 2009 Micro Focus (IP) Limited. Rights Reserved. SilkTest contains

More information

CMPSCI 120 Fall 2017 Lab #4 Professor William T. Verts

CMPSCI 120 Fall 2017 Lab #4 Professor William T. Verts CMPSCI 120 Fall 2017 Lab #4 Professor William T. Verts Logging in and Renaming Files As you did in the previous assignments, log in to the UNIX server. Change into the public_html directory and create

More information

Web Development & Design Foundations with XHTML. Chapter 2 Key Concepts

Web Development & Design Foundations with XHTML. Chapter 2 Key Concepts Web Development & Design Foundations with XHTML Chapter 2 Key Concepts Learning Outcomes In this chapter, you will learn about: XHTML syntax, tags, and document type definitions The anatomy of a web page

More information

Practice Test 3. 2) The onload event handler is used, most often, in association with which tag? a) a b) p c) body d) form

Practice Test 3. 2) The onload event handler is used, most often, in association with which tag? a) a b) p c) body d) form Practice Test 3 Part 1: Multiple Choice / Short Answer Select the best answer from the options given. 1) 1) What does PHP stand for? a) Hypertext Preprocessor b) Personal Hypertext Processor c) Personal

More information

Applications & Application-Layer Protocols: The Web & HTTP

Applications & Application-Layer Protocols: The Web & HTTP CPSC 360 Network Programming Applications & Application-Layer Protocols: The Web & HTTP Michele Weigle Department of Computer Science Clemson University mweigle@cs.clemson.edu http://www.cs.clemson.edu/~mweigle/courses/cpsc360

More information

ToDoList. 1.2 * allow custom user list to be passed in * publish changes to a channel ***/

ToDoList. 1.2 * allow custom user list to be passed in * publish changes to a channel ***/ /*** USAGE: ToDoList() Embed a TODO-list into a page. The TODO list allows users to create new items, assign them to other users, and set deadlines. Items that are due are highlighted in yellow, items

More information

HTML: Parsing Library

HTML: Parsing Library HTML: Parsing Library Version 6.7 October 26, 2016 (require html) package: html-lib The html library provides functions to read conformant HTML4 documents and structures to represent them. Since html assumes

More information

Certified HTML5 Developer VS-1029

Certified HTML5 Developer VS-1029 VS-1029 Certified HTML5 Developer Certification Code VS-1029 HTML5 Developer Certification enables candidates to develop websites and web based applications which are having an increased demand in the

More information

HTML TAG SUMMARY HTML REFERENCE 18 TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES MOST TAGS

HTML TAG SUMMARY HTML REFERENCE 18 TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES MOST TAGS MOST TAGS CLASS Divides tags into groups for applying styles 202 ID Identifies a specific tag 201 STYLE Applies a style locally 200 TITLE Adds tool tips to elements 181 Identifies the HTML version

More information

CSC Web Programming. Introduction to HTML

CSC Web Programming. Introduction to HTML CSC 242 - Web Programming Introduction to HTML Semantic Markup The purpose of HTML is to add meaning and structure to the content HTML is not intended for presentation, that is the job of CSS When marking

More information

Module Contact: Dr Graeme Richards, CMP. Copyright of the University of East Anglia Version 1

Module Contact: Dr Graeme Richards, CMP. Copyright of the University of East Anglia Version 1 UNIVERSITY OF EAST ANGLIA School of Computing Sciences Main Series UG Examination 2015/16 WEB BASED PROGRAMMING CMP-4011A Time allowed: 2 hours Answer BOTH questions in Section A and TWO questions from

More information

Web development using PHP & MySQL with HTML5, CSS, JavaScript

Web development using PHP & MySQL with HTML5, CSS, JavaScript Web development using PHP & MySQL with HTML5, CSS, JavaScript Static Webpage Development Introduction to web Browser Website Webpage Content of webpage Static vs dynamic webpage Technologies to create

More information

Dreamweaver: Portfolio Site

Dreamweaver: Portfolio Site Dreamweaver: Portfolio Site Part 3 - Dreamweaver: Developing the Portfolio Site (L043) Create a new Site in Dreamweaver: Site > New Site (name the site something like: Portfolio, or Portfolio_c7) Go to

More information

Web Programming. Based on Notes by D. Hollinger Also Java Network Programming and Distributed Computing, Chs.. 9,10 Also Online Java Tutorial, Sun.

Web Programming. Based on Notes by D. Hollinger Also Java Network Programming and Distributed Computing, Chs.. 9,10 Also Online Java Tutorial, Sun. Web Programming Based on Notes by D. Hollinger Also Java Network Programming and Distributed Computing, Chs.. 9,10 Also Online Java Tutorial, Sun. 1 World-Wide Wide Web (Tim Berners-Lee & Cailliau 92)

More information

CST272 Getting Started Page 1

CST272 Getting Started Page 1 CST272 Getting Started Page 1 1 2 3 4 5 6 8 Introduction to ASP.NET, Visual Studio and C# CST272 ASP.NET Static and Dynamic Web Applications Static Web pages Created with HTML controls renders exactly

More information

Server-side computing

Server-side computing Server-side computing Why server-side? Approaches 1 Why server-side? Markup languages cannot Specify Computations Interactions with users Provide access to Server-side resources Databases Programs Services

More information

Chapter 4 Sending Data to Your Application

Chapter 4 Sending Data to Your Application Chapter 4 Sending Data to Your Application Charles Severance and Jim Eng csev@umich.edu jimeng@umich.edu Textbook: Using Google App Engine, Charles Severance Unless otherwise noted, the content of this

More information

<page> 1 Document Summary Document Information <page> 2 Document Structure Text Formatting <page> 3 Links Images <page> 4

<page> 1 Document Summary Document Information <page> 2 Document Structure Text Formatting <page> 3 Links Images <page> 4 Document Summary Document Information Document Structure Text Formatting Links Images Lists Forms Input Type Attributes Select Attributes Option Attributes Table Formatting Objects and iframes iframe Attributes

More information

USQ/CSC2406 Web Publishing

USQ/CSC2406 Web Publishing USQ/CSC2406 Web Publishing Lecture 4: HTML Forms, Server & CGI Scripts Tralvex (Rex) Yeap 19 December 2002 Outline Quick Review on Lecture 3 Topic 7: HTML Forms Topic 8: Server & CGI Scripts Class Activity

More information

Building Web Based Application using HTML

Building Web Based Application using HTML Introduction to Hypertext Building Web Based Application using HTML HTML: Hypertext Markup Language Hypertext links within and among Web documents connect one document to another Origins of HTML HTML is

More information

Javascript, Java, Flash, Silverlight, HTML5 (animation, audio/video, ) Ajax (asynchronous Javascript and XML)

Javascript, Java, Flash, Silverlight, HTML5 (animation, audio/video, ) Ajax (asynchronous Javascript and XML) Web technologies browser sends requests to server, displays results DOM (document object model): structure of page contents forms / CGI (common gateway interface) client side uses HTML/CSS, Javascript,

More information

Web Technologies - by G. Sreenivasulu Handout - 1 UNIT - I

Web Technologies - by G. Sreenivasulu Handout - 1 UNIT - I INTRODUCTION: UNIT - I HTML stands for Hyper Text Markup Language.HTML is a language for describing web pages.html is a language for describing web pages.html instructions divide the text of a document

More information

HYPERTEXT MARKUP LANGUAGE ( HTML )

HYPERTEXT MARKUP LANGUAGE ( HTML ) 1 HTML BASICS MARK-UP LANGUAGES Traditionally used to provide typesetting information to printers where text should be indented, margin sizes, bold text, special font sizes and styles, etc. Word processors

More information

A HTML document has two sections 1) HEAD section and 2) BODY section A HTML file is saved with.html or.htm extension

A HTML document has two sections 1) HEAD section and 2) BODY section A HTML file is saved with.html or.htm extension HTML Website is a collection of web pages on a particular topic, or of a organization, individual, etc. It is stored on a computer on Internet called Web Server, WWW stands for World Wide Web, also called

More information

CSS Scripting and Computer Environment - Lecture 09

CSS Scripting and Computer Environment - Lecture 09 CSS Scripting and Computer Environment - Lecture 09 Saurabh Barjatiya International Institute Of Information Technology, Hyderabad 1 st October, 2011 Contents 1 CSS stands for Cascading Style Sheets Styles

More information

HTML: Fragments, Frames, and Forms. Overview

HTML: Fragments, Frames, and Forms. Overview HTML: Fragments, Frames, and Forms Michael B. Spring Department of Information Science and Telecommunications University of Pittsburgh spring@ imap.pitt.edu http://www.sis. pitt.edu/~spring Overview Fragment

More information

outline Web documents: HTML, forms concepts: WWW, URI/URL concepts: hypertext László Kálmán 1 Csaba Oravecz 1 Péter Szigetvári 2

outline Web documents: HTML, forms concepts: WWW, URI/URL concepts: hypertext László Kálmán 1 Csaba Oravecz 1 Péter Szigetvári 2 László Kálmán 1 Csaba Oravecz 1 Péter Szigetvári 2 outline 1 concepts 2 reading the Web 3 writing the Web getting a server writing HTML files web design 4 web forms 1 Research Institute for Linguistics

More information

A Brief Introduction to HTML

A Brief Introduction to HTML A P P E N D I X HTML SuMMAry J A Brief Introduction to HTML A web page is written in a language called HTML (Hypertext Markup Language). Like Java code, HTML code is made up of text that follows certain

More information

COPYRIGHTED MATERIAL. Contents. Chapter 1: Creating Structured Documents 1

COPYRIGHTED MATERIAL. Contents. Chapter 1: Creating Structured Documents 1 59313ftoc.qxd:WroxPro 3/22/08 2:31 PM Page xi Introduction xxiii Chapter 1: Creating Structured Documents 1 A Web of Structured Documents 1 Introducing XHTML 2 Core Elements and Attributes 9 The

More information

ゼミ Wiki の再構築について 資料編 加納さおり

ゼミ Wiki の再構築について 資料編 加納さおり Wiki [ Fukuda Semi Wiki] [ 2 wiki] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ 9 ] [ 10 ] [ 11 ] [ 12 ] [ 13 ] [ 14 Menu1] [ 15 Menu2] [ 16 Menu3] [ 17 wiki Menu] [ 18 TOP ] [ 19 ] [ 20 ] [ 20] [ 21 ] [ 22 (

More information

DAY 2. Creating Forms

DAY 2. Creating Forms DAY 2 Creating Forms LESSON LEARNING TARGETS I can identify and apply the different HTML tags to create a Web page form. I can describe the ways data is sent in a form in namevalue pairs. I can create

More information

Basics of Web Design, 3 rd Edition Instructor Materials Chapter 2 Test Bank

Basics of Web Design, 3 rd Edition Instructor Materials Chapter 2 Test Bank Multiple Choice. Choose the best answer. 1. What element is used to configure a new paragraph? a. new b. paragraph c. p d. div 2. What element is used to create the largest heading? a. h1 b. h9 c. head

More information

AUTHOR Harris, James K. TITLE

AUTHOR Harris, James K. TITLE DOCUMENT RESUME ED 425 716 IR 019 204 AUTHOR Harris, James K. TITLE Serving Grades Over the Internet. PUB DATE 1998-00-00 NOTE 11p.; In: Association of Small Computer Users in Education: Proceedings of

More information

CS144 Notes: Web Standards

CS144 Notes: Web Standards CS144 Notes: Web Standards Basic interaction Example: http://www.youtube.com - Q: what is going on behind the scene? * Q: What entities are involved in this interaction? * Q: What is the role of each entity?

More information

Internet content. Objectives HTML SGML CSS XML XHTML MIME HTTP HTML & SGML. SGML/XML-example

Internet content. Objectives HTML SGML CSS XML XHTML MIME HTTP HTML & SGML. SGML/XML-example Internet content Objectives HTML SGML CSS XML XHTML MIME HTTP What HTML is, what its origins are, and where one can find information about it Next generation HTML: CSS, XHTML Describing internet data:

More information

HTML SGML CSS XML XHTML MIME HTTP

HTML SGML CSS XML XHTML MIME HTTP HTML SGML CSS XML XHTML MIME HTTP DD1335 (Lecture 2) Basic Internet Programming Spring 2010 1 / 27 Objectives What HTML is, what its origins are, and where one can find information about it Next generation

More information

LAMPIRAN. Index.php. <?php. unset($_session["status"]); //session_destroy(); //session_destroy();

LAMPIRAN. Index.php. <?php. unset($_session[status]); //session_destroy(); //session_destroy(); LAMPIRAN Index.php unset($_session["status"]); //session_destroy(); //session_destroy();?>

More information

USER DOCUMENTATION CUSTOM SERVICES

USER DOCUMENTATION CUSTOM SERVICES USER DOCUMENTATION CUSTOM SERVICES Ex Libris Ltd., 2004 Table of Contents INTRODUCTION... 3 CREATING CUSTOM SERVICES... 4 CUSTOM SERVICES AND THE GUI CLIENT... 5 CUSTOM SERVICES AND THE WEB... 9 Ex Libris

More information

Title: Jan 29 11:03 AM (1 of 23) Note that I have now added color and some alignment to the middle and to the right on this example.

Title: Jan 29 11:03 AM (1 of 23) Note that I have now added color and some alignment to the middle and to the right on this example. Title: Jan 29 11:03 AM (1 of 23) Note that I have now added color and some alignment to the middle and to the right on this example. Sorry about these half rectangle shapes a Smartboard issue today. To

More information

Creating Web Pages Using HTML

Creating Web Pages Using HTML Creating Web Pages Using HTML HTML Commands Commands are called tags Each tag is surrounded by Some tags need ending tags containing / Tags are not case sensitive, but for future compatibility, use

More information