PHP: File upload. Unit 27 Web Server Scripting L3 Extended Diploma

Size: px
Start display at page:

Download "PHP: File upload. Unit 27 Web Server Scripting L3 Extended Diploma"

Transcription

1 PHP: File upload Unit 27 Web Server Scripting L3 Extended Diploma 2016

2 Criteria M2 M2 Edit the contents of a text file on a web server using web server scripting

3 Tasks We will go through a worked example You will write your own scripts for the criteria which will be assessed by submission of web browser screen shots which includes the url address and the commented code.

4 Example Create a form for adding contact details Submit the form data to a script The script echoes the data and writes it to a file A second script allows the file details to be edited

5 create_contact.html <form action="save_contact_details.php" method="post"> (the data will be posted to the script save_contact_details) To make the form tidy, we will use a table <table> </table> (the tags for a table) (the tags for a row) <td> </td> (the tags for a data cell)

6 One row of the form <form action="save_contact_details.php" method="post"> <table> <td align="right">last name: </td> <td><input size="20" type="text maxlength="15" name="lastname"></td> Number of </table> input </form> characters

7 The complete form - 1 <html> <body> <h1>my Contact Details</h1> <p>please enter your contact details:</p> <form action="save_contact_details.php" method="post"> <table> <td align="right">last name: </td> <td><input size="20" type="text" maxlength="15" name="lastname"></td> <td align="right">first name: </td> <td><input size="20" type="text" maxlength="15" name="firstname"></td> <td align="right">address line 1: </td> <td><input size="30" type="text" maxlength="50" name="address01"></td> <td align="right">address line 2: </td> <td><input size="30" type="text" maxlength="50" name="address02"></td> <td align="right">town / city: </td> <td><input size="20" type="text" maxlength="20" name="town"></td> <td align="right">post code: </td> <td><input size="10" type="text" maxlength="10" name="postcode"></td> <td align="right">telephone: </td> <td><input size="15" type="text" size="20" maxlength="15" name="telephone"></td>

8 The complete form - 2 <td align="right"> </td> <td><input size="50" type="text" maxlength="50" name=" "></td> <td> </td> <td colspan="2" align="left"><input type="submit" value="submit"></td> </table> </form> </body> </html>

9 save_contact_details.php This script will echo the data back in a table Note the embedded PHP in this single row example <table> <td align="right">last name: </td> <td><?php echo $_POST["lastname"];?></td>

10 The complete echo html> <body> <h1>my Contact Details</h1> <p>the contact details you submitted are shown below:</p> <table> <td align="right">last name: </td> <td><?php echo $_POST["lastname"];?></td> <td align="right">first name: </td> <td><?php echo $_POST["firstname"];?></td> <td align="right">address 01: </td> <td><?php echo $_POST["address01"];?></td> <td align="right">address 02: </td> <td><?php echo $_POST["address02"];?></td> <td align="right">town / city: </td> <td><?php echo $_POST["town"];?></td> <td align="right">post code: </td> <td><?php echo $_POST["postcode"];?></td> <td align="right">telephone: </td> <td><?php echo $_POST["telephone"];?></td> <td align="right"> </td> <td><?php echo $_POST[" "];?></td> </table>

11 Writing the file: mydata.txt <?php $myfile=fopen("mydata.txt","w") or exit("can t open file!"); // Write each line of text into the text file file fwrite($myfile, $_POST["lastname"]."\r\n"); fwrite($myfile, $_POST["firstname"]."\r\n"); fwrite($myfile, $_POST["address01"]."\r\n"); fwrite($myfile, $_POST["address02"]."\r\n"); fwrite($myfile, $_POST["town"]."\r\n"); fwrite($myfile, $_POST["postcode"]."\r\n"); \r = carriage return \n = line feed fwrite($myfile, $_POST["telephone"]."\r\n"); fwrite($myfile, $_POST[" "]."\r\n"); fclose($myfile);?> </body> </html>

12 Testing Browse create_contact.html Enter data Check the echoed data View mydata.txt and verify the data has been written to the file

13 Editing the data edit_contact_details will read the contents of mydata.txt and then display them in a table After editing, the submit button will post the updated data to save_contact_details This script will write the edited data back to mydata.txt

14 Reading the file <html> <body> <?php $myfile=fopen("mydata.txt","r") or exit("can t open file!"); // read each line of text from the text file $lastname = fgets($myfile); $firstname = fgets($myfile); $address01 = fgets($myfile); $address02 = fgets($myfile); $town = fgets($myfile); $postcode = fgets($myfile); $telephone = fgets($myfile); $ = fgets($myfile); fclose($myfile);?>

15 Displaying the data -1 <h1>my Contact Details</h1> <p> The contact details on file are as shown below.<br> Edit the data and save your changes to file. </p> <form action="save_contact_details.php" method="post"> <table> <td align="right">last name: </td><td> <?php echo "<input size=\"20\" type=\"text\" name=\"lastname\" value=\"$lastname\">"?> </td> <td align="right">first name: </td><td> <?php echo "<input size=\"20\" type=\"text\" name=\"firstname\" value=\"$firstname\">"?> <td align="right">address 01: </td><td> <?php echo "<input size=\"30\" type=\"text\" name=\"address01\" value=\"$address01\">"?> </td> <td align="right">address 02: </td><td> <?php echo "<input size=\"30\" type=\"text\" name=\"address02\" value=\"$address02\">"?> </td> <td align="right">town / city: </td><td> <?php echo "<input size=\"20\" type=\"text\" name=\"town\" value=\"$town\">"?> </td>

16 Displaying the data -2 <td align="right">post code: </td><td> <?php echo "<input size=\"10\" type=\"text\" name=\"postcode\" value=\"$postcode\">"?> </td> <td> </td> <td colspan="2" align="left"><input type="submit" value="save changes"></td> </table> </form> <td align="right">telephone: </td><td> <?php echo "<input size=\"15\" type=\"text\" name=\"telephone\" value=\"$telephone\">"?> </td> </body> </html> <td align="right"> </td><td> <?php echo "<input size=\"50\" type=\"text\" name=\" \" value=\"$ \">"?> </td>

17 Testing Browse to edit_contact_details.php Check the displayed data matches the contents of mydata.txt Change the data Submit the changes Check the echoed data matches the changes View mydata.txt to verify the updates have been written

18 Assignment work You can now do M2 This will be assessed by submission of web browser screens including url and commented code.

Dynamic Form Processing Tool Version 5.0 November 2014

Dynamic Form Processing Tool Version 5.0 November 2014 Dynamic Form Processing Tool Version 5.0 November 2014 Need more help, watch the video! Interlogic Graphics & Marketing (719) 884-1137 This tool allows an ICWS administrator to create forms that will be

More information

Web Focused Programming With PHP

Web Focused Programming With PHP Web Focused Programming With PHP May 20 2014 Thomas Beebe Advanced DataTools Corp (tom@advancedatatools.com) Tom Beebe Tom is a Senior Database Consultant and has been with Advanced DataTools for over

More information

The Seven Steps To Better PHP Code

The Seven Steps To Better PHP Code Welcome The Seven Steps To Better PHP Code (Part Two) Who I Am PHP enthusiast since 2000 IT and PHP Consultant From Munich, Germany University Degree in Computer Science Writer (Books and Articles) Blog:

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

Enterprise Knowledge Platform Adding the Login Form to Any Web Page

Enterprise Knowledge Platform Adding the Login Form to Any Web Page Enterprise Knowledge Platform Adding the Login Form to Any Web Page EKP Adding the Login Form to Any Web Page 21JAN03 2 Table of Contents 1. Introduction...4 Overview... 4 Requirements... 4 2. A Simple

More information

GENERATION OF WEB APPLICATIONS FROM ANNOTATION-BASED DEFINITIONS

GENERATION OF WEB APPLICATIONS FROM ANNOTATION-BASED DEFINITIONS GENERATION OF WEB APPLICATIONS FROM ANNOTATION-BASED DEFINITIONS Kazuhiro Asami and Takehiro Tokuda Department of Computer Science Tokyo Institute of Technology Meguro, Tokyo 152-8552, Japan {asami, tokuda

More information

servlets and Java JSP murach s (Chapter 4) TRAINING & REFERENCE Mike Murach & Associates Andrea Steelman Joel Murach

servlets and Java JSP murach s (Chapter 4) TRAINING & REFERENCE Mike Murach & Associates Andrea Steelman Joel Murach Chapter 4 How to develop JavaServer Pages 97 TRAINING & REFERENCE murach s Java servlets and (Chapter 4) JSP Andrea Steelman Joel Murach Mike Murach & Associates 2560 West Shaw Lane, Suite 101 Fresno,

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

LAMP Apps. Overview. Learning Outcomes: At the completion of the lab you should be able to:

LAMP Apps. Overview. Learning Outcomes: At the completion of the lab you should be able to: LAMP Apps Overview This lab walks you through using Linux, Apache, MySQL and PHP (LAMP) to create simple, yet very powerful PHP applications connected to a MySQL database. For developers using Windows,

More information

HTML Tables and Forms. Outline. Review. Review. Example Demo/ Walkthrough. CS 418/518 Web Programming Spring Tables to Display Data"

HTML Tables and Forms. Outline. Review. Review. Example Demo/ Walkthrough. CS 418/518 Web Programming Spring Tables to Display Data CS 418/518 Web Programming Spring 2014 HTML Tables and Forms Dr. Michele Weigle http://www.cs.odu.edu/~mweigle/cs418-s14/ Outline! Assigned Reading! Chapter 4 "Using Tables to Display Data"! Chapter 5

More information

CS4604 Prakash Spring 2016! Project 3, HTML and PHP. By Sorour Amiri and Shamimul Hasan April 20 th, 2016

CS4604 Prakash Spring 2016! Project 3, HTML and PHP. By Sorour Amiri and Shamimul Hasan April 20 th, 2016 CS4604 Prakash Spring 2016! Project 3, HTML and PHP By Sorour Amiri and Shamimul Hasan April 20 th, 2016 Project 3 Outline 1. A nice web interface to your database. (HTML) 2. Connect to database, issue,

More information

ABSOLUTE FORM PROCESSOR ADMINISTRATION OPTIONS

ABSOLUTE FORM PROCESSOR ADMINISTRATION OPTIONS ABSOLUTE FORM PROCESSOR ADMINISTRATION OPTIONS The Absolute Form Processor is very easy to use. In order to operate the system, you just need the menu at the top of the screen. There, you ll find all the

More information

Create Basic Databases and Integrate with a Website Lesson 3

Create Basic Databases and Integrate with a Website Lesson 3 Create Basic Databases and Integrate with a Website Lesson 3 Combining PHP and MySQL This lesson presumes you have covered the basics of PHP as well as working with MySQL. Now you re ready to make the

More information

COM1004 Web and Internet Technology

COM1004 Web and Internet Technology COM1004 Web and Internet Technology When a user submits a web form, how do we save the information to a database? How do we retrieve that data later? ID NAME EMAIL MESSAGE TIMESTAMP 1 Mike mike@dcs Hi

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

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

Executing Simple Queries

Executing Simple Queries Script 8.3 The registration script adds a record to the database by running an INSERT query. 1

More information

Chapter 16. JavaScript 3: Functions Table of Contents

Chapter 16. JavaScript 3: Functions Table of Contents Chapter 16. JavaScript 3: Functions Table of Contents Objectives... 2 14.1 Introduction... 2 14.1.1 Introduction to JavaScript Functions... 2 14.1.2 Uses of Functions... 2 14.2 Using Functions... 2 14.2.1

More information

CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB

CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB Unit 8 HTML Forms and Basic CGI Slides based on course material SFU Icons their respective owners 1 Learning Objectives In this unit you will

More information

HTML Tables and. Chapter Pearson. Fundamentals of Web Development. Randy Connolly and Ricardo Hoar

HTML Tables and. Chapter Pearson. Fundamentals of Web Development. Randy Connolly and Ricardo Hoar HTML Tables and Forms Chapter 5 2017 Pearson http://www.funwebdev.com - 2 nd Ed. HTML Tables A grid of cells A table in HTML is created using the element Tables can be used to display: Many types

More information

Princess Nourah bint Abdulrahman University. Computer Sciences Department

Princess Nourah bint Abdulrahman University. Computer Sciences Department Princess Nourah bint Abdulrahman University Computer Sciences Department 1 And use http://www.w3schools.com/ PHP Part 3 Objectives Creating a new MySQL Database using Create & Check connection with Database

More information

PHP 5 if...else...elseif Statements

PHP 5 if...else...elseif Statements PHP 5 if...else...elseif Statements Conditional statements are used to perform different actions based on different conditions. PHP Conditional Statements Very often when you write code, you want to perform

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

Jquery Ajax Json Php Mysql Data Entry Example

Jquery Ajax Json Php Mysql Data Entry Example Jquery Ajax Json Php Mysql Data Entry Example Then add required assets in head which are jquery library, datatable js library and css By ajax api we can fetch json the data from employee-grid-data.php.

More information

What is MySQL? [Document provides the fundamental operations of PHP-MySQL connectivity]

What is MySQL? [Document provides the fundamental operations of PHP-MySQL connectivity] What is MySQL? [Document provides the fundamental operations of PHP-MySQL connectivity] MySQL is a database. A database defines a structure for storing information. In a database, there are tables. Just

More information

HTML 5 Tables and Forms

HTML 5 Tables and Forms Tables for Tabular Data Display HTML 5 Tables and Forms Tables can be used to represet information in a two-dimensional format. Typical table applications include calendars, displaying product catelog,

More information

core programming HTML Forms Sending Data to Server-Side Programs Marty Hall, Larry Brown

core programming HTML Forms Sending Data to Server-Side Programs Marty Hall, Larry Brown core programming HTML Forms Sending Data to Server-Side Programs 1 2001-2003 Marty Hall, Larry Brown http:// Agenda Sending data from forms The FORM element Text controls Push buttons Check boxes and radio

More information

Overview of Forms. Forms are used all over the Web to: Types of forms: Accept information Provide interactivity

Overview of Forms. Forms are used all over the Web to: Types of forms: Accept information Provide interactivity HTML Forms Overview of Forms Forms are used all over the Web to: Accept information Provide interactivity Types of forms: Search form, Order form, Newsletter sign-up form, Survey form, Add to Cart form,

More information

PHP Tutorial 6(a) Using PHP with MySQL

PHP Tutorial 6(a) Using PHP with MySQL Objectives After completing this tutorial, the student should have learned; The basic in calling MySQL from PHP How to display data from MySQL using PHP How to insert data into MySQL using PHP Faculty

More information

How to structure a web application with the MVC pattern

How to structure a web application with the MVC pattern Objectives Chapter 2 How to structure a web application with the MVC pattern Knowledge 1. Describe the Model 1 pattern. 2. Describe the Model 2 (MVC) pattern 3. Explain how the MVC pattern can improve

More information

HTML Form. Kanida Sinmai

HTML Form. Kanida Sinmai HTML Form Kanida Sinmai ksinmai@tsu.ac.th http://mis.csit.sci.tsu.ac.th/kanida HTML Form HTML forms are used to collect user input. The element defines an HTML form: . form elements. Form

More information

Last &me: Javascript (forms and func&ons)

Last &me: Javascript (forms and func&ons) Let s debug some code together: hkp://www.clsp.jhu.edu/~anni/cs103/test_before.html hkp://www.clsp.jhu.edu/~anni/cs103/test_arer.html

More information

P - 13 Bab 10 : PHP MySQL Lanjut (Studi Kasus)

P - 13 Bab 10 : PHP MySQL Lanjut (Studi Kasus) P - 13 Bab 10 : PHP MySQL Lanjut (Studi Kasus) 10.1 Tujuan Mahasiswa mampu : Mengetahui dan Memahami Integrasi PHP dengan MySQL Mengetahui dan Memahami Relasi Dengan phpmyadmin Designer Mengetahui dan

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

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

Subject Name: Advanced Web Programming Subject Code: (13MCA43) 1. what is PHP? Discuss different control statements

Subject Name: Advanced Web Programming Subject Code: (13MCA43) 1. what is PHP? Discuss different control statements PES Institute of Technology, Bangalore South Campus (Formerly PES School of Engineering) (Hosur Road, 1KM before Electronic City, Bangalore-560 100) Dept of MCA INTERNAL TEST (SCHEME AND SOLUTION) 2 Subject

More information

New way of learning PHP EXAMPLE PDF. Created By: Umar Farooque Khan. Copyright ptutorial All Rights Reserved

New way of learning PHP EXAMPLE PDF. Created By: Umar Farooque Khan. Copyright ptutorial All Rights Reserved PHP EXAMPLE PDF Created By: Umar Farooque Khan 1 Program No: 01 PHP Generate 10 Random Numbers Using Loop $min=10; $max="100"; echo "Number between 10 to 100"; for($i=0;$i

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

Welcome. Web Authoring: HTML - Advanced Topics & Photo Optimisation (Level 3) Richard Hey & Barny Baggs

Welcome. Web Authoring: HTML - Advanced Topics & Photo Optimisation (Level 3) Richard Hey & Barny Baggs Welcome Web Authoring: HTML - Advanced Topics & Photo Optimisation (Level 3) Richard Hey & Barny Baggs Health and Safety Course Information General Information Objectives To understand the need for photo

More information

Poet Image Description Tool: Step-by-step Guide

Poet Image Description Tool: Step-by-step Guide Poet Image Description Tool: Step-by-step Guide Introduction This guide is designed to help you use the Poet image description tool to add image descriptions to DAISY books. The tool assumes you have access

More information

Tables *Note: Nothing in Volcano!*

Tables *Note: Nothing in Volcano!* Tables *Note: Nothing in Volcano!* 016 1 Learning Objectives After this lesson you will be able to Design a web page table with rows and columns of text in a grid display Write the HTML for integrated

More information

n A m I B I A U n I V ER SI TY OF SCIEnCE AnD TECHnOLOGY

n A m I B I A U n I V ER SI TY OF SCIEnCE AnD TECHnOLOGY n A m I B I A U n I V ER SI TY OF SCIEnCE AnD TECHnOLOGY FACULTY OF COMPUTING AND INFORMATICS DEPARTMENT OF INFORMATICS QUALIFICATION: Bachelor of lnformatics and BIT : Business Computing QUALIFICATION

More information

Understanding Basic SQL Injection

Understanding Basic SQL Injection Understanding Basic SQL Injection SQL injection (also known as SQLI) is a code injection technique that occurs if the user-defined input data is not correctly filtered or sanitized of the string literal

More information

Lab 4: Basic PHP Tutorial, Part 2

Lab 4: Basic PHP Tutorial, Part 2 Lab 4: Basic PHP Tutorial, Part 2 This lab activity provides a continued overview of the basic building blocks of the PHP server-side scripting language. Once again, your task is to thoroughly study the

More information

Using htmlarea & a Database to Maintain Content on a Website

Using htmlarea & a Database to Maintain Content on a Website Using htmlarea & a Database to Maintain Content on a Website by Peter Lavin December 30, 2003 Overview If you wish to develop a website that others can contribute to one option is to have text files sent

More information

Database Connectivity using PHP Some Points to Remember:

Database Connectivity using PHP Some Points to Remember: Database Connectivity using PHP Some Points to Remember: 1. PHP has a boolean datatype which can have 2 values: true or false. However, in PHP, the number 0 (zero) is also considered as equivalent to False.

More information

CPET 499/ITC 250 Web Systems

CPET 499/ITC 250 Web Systems CPET 499/ITC 250 Web Systems Chapter 11 Working with Databases Part 2 of 3 Text Book: * Fundamentals of Web Development, 2015, by Randy Connolly and Ricardo Hoar, published by Pearson Paul I-Hai, Professor

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

CPSC 481: CREATIVE INQUIRY TO WSBF

CPSC 481: CREATIVE INQUIRY TO WSBF CPSC 481: CREATIVE INQUIRY TO WSBF J. Yates Monteith, Fall 2013 Schedule HTML and CSS PHP HTML Hypertext Markup Language Markup Language. Does not execute any computation. Marks up text. Decorates it.

More information

The Hypertext Markup Language (HTML) Part II. Hamid Zarrabi-Zadeh Web Programming Fall 2013

The Hypertext Markup Language (HTML) Part II. Hamid Zarrabi-Zadeh Web Programming Fall 2013 The Hypertext Markup Language (HTML) Part II Hamid Zarrabi-Zadeh Web Programming Fall 2013 2 Outline HTML Structures Tables Forms New HTML5 Elements Summary HTML Tables 4 Tables Tables are created with

More information

Web Programming. Dr Walid M. Aly. Lecture 10 PHP. lec10. Web Programming CS433/CS614 22:32. Dr Walid M. Aly

Web Programming. Dr Walid M. Aly. Lecture 10 PHP. lec10. Web Programming CS433/CS614 22:32. Dr Walid M. Aly Web Programming Lecture 10 PHP 1 Purpose of Server-Side Scripting database access Web page can serve as front-end to a database Ømake requests from browser, Øpassed on to Web server, Øcalls a program to

More information

NETB 329 Lecture 13 Python CGI Programming

NETB 329 Lecture 13 Python CGI Programming NETB 329 Lecture 13 Python CGI Programming 1 of 83 What is CGI? The Common Gateway Interface, or CGI, is a set of standards that define how information is exchanged between the web server and a custom

More information

HTML Tags <A></A> <A HREF="http://www.cnn.com"> CNN </A> HREF

HTML Tags <A></A> <A HREF=http://www.cnn.com> CNN </A> HREF HTML Tags Tag Either HREF or NAME is mandatory Definition and Attributes The A tag is used for links and anchors. The tags go on either side of the link like this: the link

More information

Chapter 2 How to structure a web application with the MVC pattern

Chapter 2 How to structure a web application with the MVC pattern Chapter 2 How to structure a web application with the MVC pattern Murach's Java Servlets/JSP (3rd Ed.), C2 2014, Mike Murach & Associates, Inc. Slide 1 Objectives Knowledge 1. Describe the Model 1 pattern.

More information

Build a Subfile with PHP

Build a Subfile with PHP Build a Subfile with PHP Workshop: Build a Subfile with PHP Module 2: Formatting Customer Records in an HTML Table, and Adding a Search Form Contents Formatting Customer Records in an HTML Table, and Adding

More information

Advanced HTML Scripting WebGUI Users Conference

Advanced HTML Scripting WebGUI Users Conference Advanced HTML Scripting 2004 WebGUI Users Conference XHTML where did that x come from? XHTML =? Extensible Hypertext Markup Language Combination of HTML and XML More strict than HTML Things to Remember

More information

READSPEAKER BLACKBOARD BUILDING BLOCK

READSPEAKER BLACKBOARD BUILDING BLOCK READSPEAKER BLACKBOARD BUILDING BLOCK System Administrator Guide Version 1.0.4 This guide is intended for Blackboard System Administrators and describes how to install and configure the ReadSpeaker. This

More information

HTML Forms. By Jaroslav Mohapl

HTML Forms. By Jaroslav Mohapl HTML Forms By Jaroslav Mohapl Abstract How to write an HTML form, create control buttons, a text input and a text area. How to input data from a list of items, a drop down list, and a list box. Simply

More information

Mul$media im Netz (Online Mul$media) Wintersemester 2014/15. Übung 06 (Haup-ach)

Mul$media im Netz (Online Mul$media) Wintersemester 2014/15. Übung 06 (Haup-ach) Mul$media im Netz (Online Mul$media) Wintersemester 2014/15 Übung 06 (Haup-ach) Ludwig- Maximilians- Universität München Online Mul6media WS 2014/15 - Übung 06-1 Today s Agenda Flashback: 5 th Tutorial

More information

OVERVIEW. How tables are structured. Table headers. Cell spanning (rows and columns) Table captions. Row and column groups

OVERVIEW. How tables are structured. Table headers. Cell spanning (rows and columns) Table captions. Row and column groups 8 TABLE MARKUP OVERVIEW How tables are structured Table headers Cell spanning (rows and columns) Table captions Row and column groups Tabular Data HTML table markup is for data arranged into rows and columns.

More information

LAB Test 1. Rules and Regulations:-

LAB Test 1. Rules and Regulations:- LAB Test 1 Rules and Regulations:- 1. Individual Test 2. Start at 3.10 pm until 4.40 pm (1 Hour and 30 Minutes) 3. Open note test 4. Send the answer to h.a.sulaiman@ieee.org a. Subject: [LabTest] Your

More information

Alpha College of Engineering and Technology. Question Bank

Alpha College of Engineering and Technology. Question Bank Alpha College of Engineering and Technology Department of Information Technology and Computer Engineering Chapter 1 WEB Technology (2160708) Question Bank 1. Give the full name of the following acronyms.

More information

dotcms Administrator Manual

dotcms Administrator Manual dotcms Administrator Manual Copyright dotmarketing, Inc., 2007 INTRODUCTION... 3 HOME TAB... 3 WEBSITE TAB (ADMIN TASKS ONLY)... 3 Containers... 3 Templates... 5 CONTENT TAB... 6 CREATING FORMS... 6 Required

More information

CP215 Application Design

CP215 Application Design CP215 Application Design Microsoft HoloLens developer preorder: $3,000 Tech News! Tech News! Microsoft HoloLens developer preorder: $3,000 Raspberry Pi 3 with Wi-Fi and Bluetooth built-in: $35 Hacker's

More information

Park The Flagship Country Park Customer Name Zqxrhymi Address 1 mhgtntkcsjqnvov Address 2 ODsLUgNXYkSwqWD Town / City New York Country USA Postcode 3168 County USA Telephone 71015015637 E-mail lwdxhxji@clitetpm.com

More information

I will link the following rough sketch of my mom to our class homepage: Code Used

I will link the following rough sketch of my mom to our class homepage: Code Used Assignment Eight: Fabulous Forms INTRODUCTION Let's start off this assignment with some work, shall we? (rubbing hands together as a mob boss would). Go to your page #3 (the one listing likes and dislikes)

More information

Hyper- Any time any where go to any web pages. Text- Simple Text. Markup- What will you do

Hyper- Any time any where go to any web pages. Text- Simple Text. Markup- What will you do HTML Interview Questions and Answers What is HTML? Answer1: HTML, or HyperText Markup Language, is a Universal language which allows an individual using special code to create web pages to be viewed on

More information

IT350 Web and Internet Programming. XHTML Tables and Forms (from Chapter 4 of the text 4 th edition Chapter 2 of the text 5 th edition)

IT350 Web and Internet Programming. XHTML Tables and Forms (from Chapter 4 of the text 4 th edition Chapter 2 of the text 5 th edition) IT350 Web and Internet Programming XHTML Tables and Forms (from Chapter 4 of the text 4 th edition Chapter 2 of the text 5 th edition) 4.10 Tables 1 Table Basics table element border, summary, caption

More information

cwhois Manual Copyright Vibralogix. All rights reserved.

cwhois Manual Copyright Vibralogix. All rights reserved. cwhoistm V2.12 cwhois Manual Copyright 2003-2015 Vibralogix. All rights reserved. This document is provided by Vibralogix for informational purposes only to licensed users of the cwhois product and is

More information

home.php 1/1 lectures/6/src/ include.php 1/1 lectures/6/src/

home.php 1/1 lectures/6/src/ include.php 1/1 lectures/6/src/ home.php 1/1 3: * home.php 5: * A simple home page for these login demos. 6: * David J. Malan 8: * Computer Science E-75 9: * Harvard Extension School 10: */ 11: // enable sessions 13: session_start();

More information

API Technical Reference

API Technical Reference API Technical Reference Copyright 1996/2015, Quality System Solutions Limited Unit 8 Lansdowne Court Bumpers Way, Chippenham, Wiltshire, SN13 0RP United Kingdom Tel: +44 (0)1249 566010 E-mail: support@callprocrm.com

More information

Advanced HTML. Introduction. Frames HTML Forms CGI Scripts Dynamic Documents HTML Tools Next-Generation HTML

Advanced HTML. Introduction. Frames HTML Forms CGI Scripts Dynamic Documents HTML Tools Next-Generation HTML Introduction Frames HTML Forms CGI Scripts Dynamic Documents HTML Tools Next-Generation HTML From Greenlaw/Hepp, In-line/On-line: Fundamentals of the Internet and the World Wide Web 1 Frames Frame Usage

More information

Controlled Assessment Task. Question 1 - Describe how this HTML code produces the form displayed in the browser.

Controlled Assessment Task. Question 1 - Describe how this HTML code produces the form displayed in the browser. Controlled Assessment Task Question 1 - Describe how this HTML code produces the form displayed in the browser. The form s code is displayed in the tags; this creates the object which is the visible

More information

WEBD 236 Web Information Systems Programming

WEBD 236 Web Information Systems Programming WEBD 236 Web Information Systems Programming Week 4 Copyright 2013-2017 Todd Whittaker and Scott Sharkey (sharkesc@franklin.edu) Agenda This week s expected outcomes This week s topics This week s homework

More information

ZipRecruiter Apply Webhook Documentation. ZR ATS Integration Team. Version 1.1,

ZipRecruiter Apply Webhook Documentation. ZR ATS Integration Team. Version 1.1, ZipRecruiter Apply Webhook Documentation ZR ATS Integration Team Version 1.1, 2017-10-12 Table of Contents Introduction................................................................................ 1

More information

External HTML E-form Guide

External HTML E-form Guide External HTML E-form Guide A guide for creation and setup of external e- froms for FileBound. Document Version: 6.5.2 Published Date: 2/27/2014 - 2 - Copyright Copyright 2013 FileBound All Rights Reserved.

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

Server-Side Processing

Server-Side Processing Server-Side Processing Your web browser requests web pages and their related files from a web server. The web server locates the files and sends them to your web browser. The web browser then renders the

More information

PYTHON CGI PROGRAMMING

PYTHON CGI PROGRAMMING PYTHON CGI PROGRAMMING http://www.tutorialspoint.com/python/python_cgi_programming.htm Copyright tutorialspoint.com The Common Gateway Interface, or CGI, is a set of standards that define how information

More information

Retrieving Query Results

Retrieving Query Results Using PHP with MySQL Retrieving Query Results The preceding section of this chapter demonstrates how to execute simple queries on a MySQL database. A simple query, as I m calling it, could be defined as

More information

205CDE Developing the Modern Web. Assignment 2 Server Side Scripting. Scenario D: Bookshop

205CDE Developing the Modern Web. Assignment 2 Server Side Scripting. Scenario D: Bookshop 205CDE Developing the Modern Web Assignment 2 Server Side Scripting Scenario D: Bookshop Introduction This assignment was written using PHP programming language for interactions with the website and the

More information

Creating an Online Catalogue Search for CD Collection with AJAX, XML, and PHP Using a Relational Database Server on WAMP/LAMP Server

Creating an Online Catalogue Search for CD Collection with AJAX, XML, and PHP Using a Relational Database Server on WAMP/LAMP Server CIS408 Project 5 SS Chung Creating an Online Catalogue Search for CD Collection with AJAX, XML, and PHP Using a Relational Database Server on WAMP/LAMP Server The catalogue of CD Collection has millions

More information

Unified Merchants API (UMAPI) Java Integration Quick Guide Credit Browser-to-Server Flow

Unified Merchants API (UMAPI) Java Integration Quick Guide Credit Browser-to-Server Flow A BETTER WAY TO PAY Unified Merchants API (UMAPI) Java Integration Quick Guide Version 1.0 Page enets UMAPI Java Merchant Integration Manual Contents 1 Minimum System Requirements... 2 2 Installing the

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

Book IX. Developing Applications Rapidly

Book IX. Developing Applications Rapidly Book IX Developing Applications Rapidly Contents at a Glance Chapter 1: Building Master and Detail Pages Chapter 2: Creating Search and Results Pages Chapter 3: Building Record Insert Pages Chapter 4:

More information

Communication Software Exam 5º Ingeniero de Telecomunicación February 18th Full name: Part I: Theory Exam

Communication Software Exam 5º Ingeniero de Telecomunicación February 18th Full name: Part I: Theory Exam Part I: Theory Exam Duration, exam (this year's students): 3 hours () (last year's students): 2 hours 45 minutes Duration, part I: 2 hours, 30 minutes The use of books or notes is not permitted. Reply

More information

CHAPTER 10. Using cgi-lib.sol

CHAPTER 10. Using cgi-lib.sol CHAPTER 10 Using cgi-lib.sol OVERVIEW In writing the applications for this book, we found ourselves duplicating a number of routines in the scripts. To make our application more modular, we felt it would

More information

PHP with MySQL: What you need to know Chapter 3. This section is on using PHP script tags appropriately in your PHP program.

PHP with MySQL: What you need to know Chapter 3. This section is on using PHP script tags appropriately in your PHP program. Chapter 3 PHP Basics 3.1 Using PHP Script Tags This section is on using PHP script tags appropriately in your PHP program. The beginning PHP tag () and the code in between those

More information

Chapter 1 FORMS. SYS-ED/ Computer Education Techniques, Inc.

Chapter 1 FORMS. SYS-ED/ Computer Education Techniques, Inc. Chapter 1 FORMS SYS-ED/ Computer Education Techniques, Inc. Objectives You will learn: How to use forms and the related form types. Controls for interacting with forms. Menus and presenting users with

More information

Bulk Certification Verification Guide

Bulk Certification Verification Guide Bulk Certification Verification Guide Last update: August 2017 Table of Contents Purpose 2 Process 2 Input File Structure 2 Saving your Input File 3 Creating a PTCB Account 4 Logging into Your PTCB Account

More information

Dreamweaver Forms Outline

Dreamweaver Forms Outline Dreamweaver Forms Outline Discuss the different types of scripts that we are going to be using o Form Mail Script The different tools o Insert Form o Insert Text Field o Insert Button o Insert Checkbox

More information

HTML, beyond the basics

HTML, beyond the basics HTML, beyond the basics HTML Classes and IDs Classes are attributes that attach information to an element so you can do more things with some or all elements that belong to a certain class. IDs, like classes,

More information

OO and Ahh! An Introduction to Object Oriented Programming With PHP. Division 1 Systems. John Valance. Copyright John Valance Division 1 Systems

OO and Ahh! An Introduction to Object Oriented Programming With PHP. Division 1 Systems. John Valance. Copyright John Valance Division 1 Systems OO and Ahh! An Introduction to Object Oriented Programming With PHP John Valance Division 1 Systems johnv@div1sys.com Copyright John Valance Division 1 Systems About John Valance 30+ years IBM midrange

More information

A Primer in Web Application Development

A Primer in Web Application Development A Primer in Web Application Development The purpose of this primer is to provide you with some concept of how web applications work. You will look at some database information, some application development

More information

Session 10. Form Dataset. Lecture Objectives

Session 10. Form Dataset. Lecture Objectives Session 10 Form Dataset Lecture Objectives Understand the relationship between HTML form elements and parameters that are passed to the servlet, particularly the form dataset 2 10/1/2018 1 Example Form

More information

SMS GATEWAY API INTEGRATION GUIDE

SMS GATEWAY API INTEGRATION GUIDE SMS GATEWAY API INTEGRATION GUIDE For PHP Developers Are you a developer or bulk SMS reseller? You can interface your application, website or system with our 247 reliable messaging gateway by using our

More information

Shankersinh Vaghela Bapu Institue of Technology

Shankersinh Vaghela Bapu Institue of Technology Branch: - 6th Sem IT Year/Sem : - 3rd /2014 Subject & Subject Code : Faculty Name : - Nitin Padariya Pre Upload Date: 31/12/2013 Submission Date: 9/1/2014 [1] Explain the need of web server and web browser

More information

CS 350 COMPUTER/HUMAN INTERACTION. Lecture 6

CS 350 COMPUTER/HUMAN INTERACTION. Lecture 6 CS 350 COMPUTER/HUMAN INTERACTION Lecture 6 Setting up PPP webpage Log into lab Linux client or into csserver directly Webspace (www_home) should be set up Change directory for CS 350 assignments cp r

More information

Chapter 4 Notes. Creating Tables in a Website

Chapter 4 Notes. Creating Tables in a Website Chapter 4 Notes Creating Tables in a Website Project for Chapter 4 Statewide Realty Web Site Chapter Objectives Define table elements Describe the steps used to plan, design, and code a table Create a

More information