Form HTML FORM E PHP. Un insieme di elemen5 in una pagina web con cui l'utente interagisce per inviare informazioni ad uno script

Size: px
Start display at page:

Download "Form HTML FORM E PHP. Un insieme di elemen5 in una pagina web con cui l'utente interagisce per inviare informazioni ad uno script"

Transcription

1 HTML FORM E PHP Programmazione Web 1 Form Un insieme di elemen5 in una pagina web con cui l'utente interagisce per inviare informazioni ad uno script Realizzazione di due cose la pagina contente il form Lo script che riceve ed elabora le informazioni Programmazione Web 2 1

2 Data Name = Sally Strongarm = strongarm@example.com Web application Response (HTML) Programmazione Web 3 Flusso operazioni 1. Apertura pagina con il form 2. Compilazione del form e click di un bofone 3. Invio delle informazioni al server 4. Uno script prende le informazioni e le processa 5. Lo script genera una pagina di risposta a seconda delle informazioni 6. Il server invia la pagina al browser che la visualizza Programmazione Web 4 2

3 Elemento form <form>...</form> Serve a contenere gli elemenl appartenenl al form AMvi: campi di testo, bofoni, menu Altri elemenl descrimvi: tum tranne form Programmazione Web hfp://ppl.eln.uniroma2.it/pw/esf/exf.html Programmazione Web 6 3

4 AGributo ac5on ConLene la URL dello script che elaborerà i dal Se non presente si assume che il suo valore sia quello della pagina corrente Programmazione Web 7 AGributo method Specifica la modalità di invio dei dal valori: get o post GET (default) HTTP GET con i dal concatenal nella URL si usa? all'inizio e & fra i dal hfp:// %40example.com?name=Sally%20Strongar m& =strongarm%40example.com POST DaL invial nel body della post DaL: username = Sally Strongarm = strongarm@example.com ES. GET hfp://ppl.eln.uniroma2.it/pw/esf/exf.html ES. POST hfp://ppl.eln.uniroma2.it/pw/esf/exf2.html Programmazione Web 8 4

5 hfp://ppl.eln.uniroma2.it/pw/esf/mailinglist.php? username=pierpaolo& =pierpaolo.lorel %40uniroma2.it Programmazione Web 9 Altri agribu5 accept- charset Specifies the charset used in the submifed form (default: the page charset). aclon Specifies an address (url) where to submit the form (default: the submimng page). autocomplete Specifies if the browser should autocomplete the form (default: on). enctype Specifies the encoding of the submifed data (default: is url- encoded). hfp:// method Specifies the HTTP method used when submimng the form (default: GET). name Specifies a name used to idenlfy the form (for DOM usage: document.forms.name). novalidate Specifies that the browser should not validate the form. target Specifies the target of the address in the aclon afribute (default: _self) Programmazione Web 10 5

6 Variabili e contenuto Può contenere moll elemenl amvi Ogni elemento definisce una variabile che ha un nome L'utente interagendo con il form varia il contenuto delle variabili che vengono inviate al server Nell'esempio variabili username and Sally Strongarm and strongarm@example.com valori contenul nelle variabili Programmazione Web 11 AGributo name Definisce i nomi delle variabili <textarea name="comment" rows="4" cols="45" placeholder="leave us a comment."></textarea> Se scrivo: This is the best band ever! La variabile vale: comment=this%20is%20the%20best%20band%20ever% Programmazione Web 12 6

7 Nomi dei campi Nei form i valori per l'afributo name possono essere qualunque cosa Devono essere unici nel form Sarebbe meglio evitare spazi I nomi delle variabili li uso in php per prendere il valore delle variabili Il php se trova cose strane li converte Programmazione Web 13 Campi del form MolL sono l'elemento <input> con type diverso <input type="text"> <input type="password"> <input type="submit"> <input type="reset"> <input type="radio"> <input type="checkbox"> <input type="bufon"> <input type="hidden"> <input type="file"> HTML5 type color, date, datelme, datelme- local, , month, number, range, search, tel, Lme, url, week Programmazione Web 14 7

8 Esempi hfp:// html_form_input_types.asp hfp:// html_form_afributes.asp hfp:// Programmazione Web 15 Principali AGribu5 disabled Specifies that an input field should be disabled max Specifies the maximum value for an input field maxlength Specifies the maximum number of character min Specifies the minimum value for an input field pagern Specifies a regular expression to check the input value against readonly Specifies that an input field is read only (cannot be changed) required Specifies that an input field is required (must be filled out) size Specifies the width (in characters) of an input field step Specifies the legal number intervals for an input field value Specifies the default value for an input field Programmazione Web 16 8

9 Radio e checkbox Radio buttons Checkbox buttons Programmazione Web 17 Menu drop down <select> definisce il menu <oplon> opzione del menu Programmazione Web 18 9

10 Menu scelta mul5pla Programmazione Web 19 File Seleziona un file dall'computer locale Servono method="post" enctype="mullpart/form- data" File input (Firefox) File input (Chrome) Programmazione Web 20 10

11 Type hidden Inviare informazioni che non provengono dall'utente dal query precedenl referral nonce Programmazione Web 21 Label Associa del testo ad elemento di input associazione implicita associazione esplicita Programmazione Web 22 11

12 fieldset e legend servono a creare dei gruppi logici ed a fornire una descrizione Programmazione Web 23 Design Usabilità Evitare gli input opzionali o non necessari Posizionare le label in modo opportuno Scegliere il Lpo di input Raggruppate gli input correlal Evidenziate le azioni Usate il CSS per posizionare e geslre lo slle del form Programmazione Web 24 12

13 Programmazione Web Programmazione Web 26 13

14 PHP WEB Programmazione Web 27 Variabili per form $_SERVER Contains useful informalon about the web server, as described in the next seclon $_GET Contains any parameters that are part of a GET request, where the keys of the array are the names of the form parameters $_POST Contains any parameters that are part of a POST request, where the keys of the array are the names of the form parameters $_FILES Contains informalon about any uploaded files Programmazione Web 28 14

15 Passare da5 POST Programmazione Web 29 Passare da5 GET Programmazione Web 30 15

16 Tipo richiesta GesLre il Lpo di richiesta if ($_SERVER['REQUEST_METHOD'] == 'GET') { // handle a GET request } else { die("you may only GET this page."); } Programmazione Web 31 Pagine Self Processing Pagine che generano il form e che lo elaborano Programmazione Web 32 16

17 Parametri con valori mul5pli Uso le parentesi quadre [] nel afributo name per dire che sarà un array <select name="languages[]"> <option name="c">c</input> <option name="c++">c++</input> <option name="php">php</input> <option name="perl">perl</input> </select> Programmazione Web 33 <html> <head><title>personality</title></head> <body> <form action="<?php echo $_SERVER['PHP_SELF'];?>" method="get"> Select your personality attributes:<br /> <select name="attributes[]" multiple> <option value="perky">perky</option> <option value="morose">morose</option> <option value="thinking">thinking</option> <option value="feeling">feeling</option> <option value="thrifty">spend-thrift</option> <option value="shopper">shopper</option> </select><br /> <input type="submit" name="s" value="record my personality!" /> </form> <?php if (array_key_exists('s', $_GET)) { $description = join(' ', $_GET['attributes']); echo "You have a {$description} personality."; }?> </body> </html> Programmazione Web 34 17

18 S5ky Form Uso dei valori invial per per un form nella pagina di output Programmazione Web 35 Valori s5ky Programmazione Web 36 18

19 File Upload Il file inviato dal form è posto fra i file temporanei con un nome casuale La variabile $_FILE conlene le informazioni per accedervi <form enctype="multipart/form-data" action="<?php echo $_SERVER['PHP_SELF'];?>" method="post"> <input type="hidden" name="max_file_size" value="10240"> File name: <input name="toprocess" type="file" /> <input type="submit" value="upload" /> </form> if (is_uploaded_file($_files['toprocess']['tmp_name'])) { // successfully uploaded } move_uploaded_file($_files['toprocess']['tmp_name'], "path/to/put/file/{$file}"); Programmazione Web 37 Esempio Programmazione Web 38 19

20 Programmazione Web 39 20

1 Form Basics CSC309

1 Form Basics CSC309 1 Form Basics Web Data 2! Most interesting web pages revolve around data! examples: Google, IMDB, Digg, Facebook, YouTube! can take many formats: text, HTML, XML, multimedia! Many of them allow us to access

More information

GESTIONE DEL BACKGROUND. Programmazione Web 1

GESTIONE DEL BACKGROUND. Programmazione Web 1 GESTIONE DEL BACKGROUND Programmazione Web 1 Background background-color opacity Immagini nel background background-image background-repeat background-posi:on background-a;achment Programmazione Web 2

More information

Automatic Creation of Define.xml for ADaM

Automatic Creation of Define.xml for ADaM Automatic Creation of Define.xml for ADaM Alessia Sacco, Statistical Programmer www.valos.it info@valos.it 1 Indice Define.xml Pinnacle 21 Community Valos ADaM Metadata 2 Define.xml Cos è: Case Report

More information

HTML avanzato e HTML5 (per cominciare)

HTML avanzato e HTML5 (per cominciare) HTML avanzato e HTML5 (per cominciare) ugo.rinaldi@gmail.com Argomenti Nuovi elementi semantici Nuovi elementi per il form Tip & Tricks 2 Struttura del documento

More information

VHDL Packages. I Packages incapsulano elementi che possono essere condivisi tra più entity Un package consiste di due parti:

VHDL Packages. I Packages incapsulano elementi che possono essere condivisi tra più entity Un package consiste di due parti: 1 VHDL Packages I Packages incapsulano elementi che possono essere condivisi tra più entity Un package consiste di due parti: Declaration Dichiarazione di tutti gli elementi contenuti nel package Body

More information

Form Overview. Form Processing. The Form Element. CMPT 165: Form Basics

Form Overview. Form Processing. The Form Element. CMPT 165: Form Basics Form Overview CMPT 165: Form Basics Tamara Smyth, tamaras@cs.sfu.ca School of Computing Science, Simon Fraser University October 26, 2011 A form is an HTML element that contains and organizes objects called

More information

Esempio con Google Play tore Example with Google Play tore

Esempio con Google Play tore Example with Google Play tore Guida all installazione ed uso dell App VR Tour Camerata Picena Per installare l App occorre aprire lo Store del vostro smartphone (Play Store o App Store) e cercare l App con parola chiave Camerata Picena.

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

HTML forms and the dynamic web

HTML forms and the dynamic web HTML forms and the dynamic web Antonio Lioy < lioy@polito.it > english version created by Marco D. Aime < m.aime@polito.it > Politecnico di Torino Dip. Automatica e Informatica timetable.html departure

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

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

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

CSE 154 LECTURE 8: FORMS

CSE 154 LECTURE 8: FORMS CSE 154 LECTURE 8: FORMS Web data most interesting web pages revolve around data examples: Google, IMDB, Digg, Facebook, YouTube, Rotten Tomatoes can take many formats: text, HTML, XML, multimedia many

More information

Web Site Design and Development Lecture 23. CS 0134 Fall 2018 Tues and Thurs 1:00 2:15PM

Web Site Design and Development Lecture 23. CS 0134 Fall 2018 Tues and Thurs 1:00 2:15PM Web Site Design and Development Lecture 23 CS 0134 Fall 2018 Tues and Thurs 1:00 2:15PM List box The element shows a list of options in a scroll-able box when size is

More information

Lecture 6: More Arrays & HTML Forms. CS 383 Web Development II Monday, February 12, 2018

Lecture 6: More Arrays & HTML Forms. CS 383 Web Development II Monday, February 12, 2018 Lecture 6: More Arrays & HTML Forms CS 383 Web Development II Monday, February 12, 2018 Lambdas You may have encountered a lambda (sometimes called anonymous functions) in other programming languages The

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

PROPOSTE DI PROGETTI E TESI DI LAUREA

PROPOSTE DI PROGETTI E TESI DI LAUREA PROPOSTE DI PROGETTI E TESI DI LAUREA Tecnologie per i Sistemi Informativi Context Integration for Mobile Data Design Disparate, heterogeneous, independent Data Sources Semantic schema integration Context-aware

More information

Lesson 3. Form By Raymond Tsang. Certificate Programme in Cyber Security

Lesson 3. Form By Raymond Tsang. Certificate Programme in Cyber Security Lesson 3 Form By Raymond Tsang Certificate Programme in Cyber Security What is a form How to create a form Getting input from users Generate a result It s a section of a document containing normal content,

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

MW MOC SUPPORTING AND TROUBLESHOOTING WINDOWS 10

MW MOC SUPPORTING AND TROUBLESHOOTING WINDOWS 10 MW10-3 - MOC 10982 - SUPPORTING AND TROUBLESHOOTING WINDOWS 10 Categoria: Windows 10 INFORMAZIONI SUL CORSO Durata: Categoria: Qualifica Istruttore: Dedicato a: Produttore: 5 Giorni Windows 10 Microsoft

More information

HTML Element A pair of tags and the content these include are known as an element

HTML Element A pair of tags and the content these include are known as an element HTML Tags HTML tags are used to mark-up HTML elements. HTML tags are surrounded by the two characters < and >. The surrounding characters are called angle brackets HTML tags are not case sensitive,

More information

CSE 154 LECTURE 9: SUBMITTING DATA (POST)

CSE 154 LECTURE 9: SUBMITTING DATA (POST) CSE 154 LECTURE 9: SUBMITTING DATA (POST) Drop-down list: , menus of choices that collapse and expand (inline) jerry george

More information

COMS 359: Interactive Media

COMS 359: Interactive Media COMS 359: Interactive Media Agenda Project #3 Review Forms (con t) CGI Validation Design Preview Project #3 report Who is your client? What is the project? Project Three action= http://...cgi method=

More information

Creating and Building Websites

Creating and Building Websites Creating and Building Websites Stanford University Continuing Studies CS 21 Mark Branom branom@alumni.stanford.edu Course Web Site: http://web.stanford.edu/group/csp/cs21 Week 7 Slide 1 of 25 Week 7 Unfinished

More information

HTML and JavaScript: Forms and Validation

HTML and JavaScript: Forms and Validation HTML and JavaScript: Forms and Validation CISC 282 October 18, 2017 Forms Collection of specific elements know as controls Allow the user to enter information Submit the data to a web server Controls are

More information

04MAC03/03/01/001 RIMADIMA an INTERREG III B CADSES NP, An EU-funded project managed by the European Agency for Reconstruction

04MAC03/03/01/001 RIMADIMA an INTERREG III B CADSES NP, An EU-funded project managed by the European Agency for Reconstruction 04MAC03/03/01/001 RIMADIMA an INTERREG III B CADSES NP, RIMADIMA Risk-, Disaster-Management & prevention of natural hazards in mountainous and/or forested regions WP-Nr.:4 Action-nr.: 4.4, 4.5 Journal

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

MW MOC INSTALLING AND CONFIGURING WINDOWS 10

MW MOC INSTALLING AND CONFIGURING WINDOWS 10 MW10-4 - MOC 20698 - INSTALLING AND CONFIGURING WINDOWS 10 Categoria: Windows 10 INFORMAZIONI SUL CORSO Durata: Categoria: Qualifica Istruttore: Dedicato a: Produttore: 5 Giorni Windows 10 Microsoft Certified

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

OEO035 Lo stack LAMP in Ubuntu

OEO035 Lo stack LAMP in Ubuntu Tel. +39 02 365738 info@overneteducation.it www.overneteducation.it OEO035 Lo stack LAMP in Ubuntu Durata: 3 gg Descrizione Normal 0 14 false false false IT X-NONE X-NONE Pagina 1 Il corso fornisce una

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

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

MOC20741 Networking with Windows Server 2016

MOC20741 Networking with Windows Server 2016 Tel. +39 02 365738 info@overneteducation.it www.overneteducation.it MOC20741 Networking with Windows Server 2016 Durata: 4.5 gg Descrizione Questo corso intende trasmettere le competenze fondamentali in

More information

MOC10215 Implementing and Managing Server Virtualization

MOC10215 Implementing and Managing Server Virtualization Tel. +39 02 365738 info@overneteducation.it www.overneteducation.it MOC10215 Implementing and Managing Server Virtualization Durata: 4.5 gg Descrizione Questo corso fornisce le competenze e le conoscenze

More information

Programmazione Web a.a. 2017/2018 HTML5

Programmazione Web a.a. 2017/2018 HTML5 Programmazione Web a.a. 2017/2018 HTML5 PhD Ing.Antonino Raucea antonino.raucea@dieei.unict.it 1 Introduzione HTML HTML is the standard markup language for creating Web pages. HTML stands for Hyper Text

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

Istruzioni passo passo per creare qualsiasi CUSTOM AWARD con BBLogger How to create step by step any CUSTOM AWARD by BBLogger

Istruzioni passo passo per creare qualsiasi CUSTOM AWARD con BBLogger How to create step by step any CUSTOM AWARD by BBLogger Istruzioni passo passo per creare qualsiasi CUSTOM AWARD con BBLogger How to create step by step any CUSTOM AWARD by BBLogger Aprire l applicazione e con il mouse andare sul pulsante custom award e cliccarci

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

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

Chapter 9 Formattazione Input/Output

Chapter 9 Formattazione Input/Output 1 Chapter 9 Formattazione Input/Output 2 Flussi 9.2 Flussi Sequenze di caratteri organizzate in linee Ogni linea consiste di zero o più caratteri e finisce con il carattere newline Lo standard ANSI C deve

More information

ANALISI DELLE CORRISPONDENZE IN R

ANALISI DELLE CORRISPONDENZE IN R ANALISI DELLE CORRISPONDENZE IN R Un esempio I dati sono tratti da un'indagine ISTAT Aspetti della vita quotidiana condotta a febbraio 2010; sono reperibili sul sito http://www.istat.it/it/archivio/36071.

More information

Web Design and Development ACS Chapter 13. Using Forms 11/27/2018 1

Web Design and Development ACS Chapter 13. Using Forms 11/27/2018 1 Web Design and Development ACS-1809 Chapter 13 Using Forms 11/27/2018 1 Chapter 13: Employing Forms Understand the concept and uses of forms in web pages Create a basic form Validate the form content 11/27/2018

More information

Programmazione avanzata con ecos

Programmazione avanzata con ecos Programmazione avanzata con ecos Giovanni Perbellini Agenda Aggiunta di un device driver all interno di ecos Modifica del repository Progettazione driver per il controllo di un contatore Modifica della

More information

Web Designing Course

Web Designing Course Web Designing Course Course Summary: HTML, CSS, JavaScript, jquery, Bootstrap, GIMP Tool Course Duration: Approx. 30 hrs. Pre-requisites: Familiarity with any of the coding languages like C/C++, Java etc.

More information

MOC20488 Developing Microsoft SharePoint Server 2013 Core Solutions

MOC20488 Developing Microsoft SharePoint Server 2013 Core Solutions Tel. +39 02 365738 info@overneteducation.it www.overneteducation.it MOC20488 Developing Microsoft SharePoint Server 2013 Core Solutions Durata: 4.5 gg Descrizione Il corso permetterà di apprendere le abilità

More information

google adwords guida F511591EE4389B71B65D236A6F16B219 Google Adwords Guida 1 / 6

google adwords guida F511591EE4389B71B65D236A6F16B219 Google Adwords Guida 1 / 6 Google Adwords Guida 1 / 6 2 / 6 3 / 6 Google Adwords Guida La tua guida a Google Ads Nozioni di base di Google Ads Creare annunci e campagne Scegliere dove e quando pubblicare gli annunci Come scoprire

More information

PfR Performance Routing. Massimiliano Sbaraglia

PfR Performance Routing. Massimiliano Sbaraglia PfR Performance Routing Massimiliano Sbaraglia PfR advantage PfR abilita i processi di routing su base best path (non più su prefix-destination) basandosi su definite policy; PfR potenzia i tradizionali

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

Chapter 3 HTML Multimedia and Inputs

Chapter 3 HTML Multimedia and Inputs Sungkyunkwan University Chapter 3 HTML Multimedia and Inputs Prepared by D. T. Nguyen and H. Choo Web Programming Copyright 2000-2018 Networking Laboratory 1/45 Copyright 2000-2012 Networking Laboratory

More information

Tecniche di Progettazione: Design Patterns

Tecniche di Progettazione: Design Patterns Tecniche di Progettazione: Design Patterns GoF: Decorator 1 Decorator Intent Attach additional responsibilities to an object dynamically. Decorators provide a flexible alternative to subclassing for extending

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

Lecture (03) from static HTML to

Lecture (03) from static HTML to Lecture (03) from static HTML to dynamic CGI By: Dr. Ahmed ElShafee ١ Dr. Ahmed ElShafee, ACU : Spring 2016, Web Programming Forms Forms add the ability to web pages to not only provide the person viewing

More information

Ingegneria del Software T. XML Programming

Ingegneria del Software T. XML Programming Ingegneria del Software T XML Programming An in-memory representation of an XML document The DOM allows you to programmatically Load Modify Save an XML document 2 carson

More information

Web Programming Step by Step

Web Programming Step by Step 1 of 24 Web Programming Step by Step Chapter 6 HTML Forms and Server-side Data Except where otherwise noted, the contents of this presentation are Copyright 2009 Marty Stepp and Jessica Miller. 6.1: Form

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

CHAPTER 6: CREATING A WEB FORM CREATED BY L. ASMA RIKLI (ADAPTED FROM HTML, CSS, AND DYNAMIC HTML BY CAREY)

CHAPTER 6: CREATING A WEB FORM CREATED BY L. ASMA RIKLI (ADAPTED FROM HTML, CSS, AND DYNAMIC HTML BY CAREY) CHAPTER 6: CREATING A WEB FORM INTERACTION BETWEEN A WEB FORM AND A WEB SERVER Without a form, a website is read-only. It only provides information. EXAMPLES OF FORMS USAGE Performing searches Posting

More information

Errore 500 su installazione Phoca Gallery e Phoca Guestbook su Joomla 2.5. Scritto da ventus85 Domenica 12 Agosto :28

Errore 500 su installazione Phoca Gallery e Phoca Guestbook su Joomla 2.5. Scritto da ventus85 Domenica 12 Agosto :28 In questi giorni ho provato a installare le estensioni Phoca Gallery e Phoca Guestbook, più precisamente le ultime rilasciate ad oggi per Joomla 2.5, la 3.2.1 per la prima e la 2.0.5 per la seconda. In

More information

MWS3-2 - MOC INSTALLATION, STORAGE AND COMPUTE WITH WINDOWS SERVER 2016

MWS3-2 - MOC INSTALLATION, STORAGE AND COMPUTE WITH WINDOWS SERVER 2016 MWS3-2 - MOC 20740 - INSTALLATION, STORAGE AND COMPUTE WITH WINDOWS SERVER 2016 Categoria: Windows Server 2016 INFORMAZIONI SUL CORSO Durata: Categoria: Qualifica Istruttore: Dedicato a: Produttore: 5

More information

Web Forms. Survey or poll Contact us Sign up for an newsletter Register for an event

Web Forms. Survey or poll Contact us Sign up for an  newsletter Register for an event Web Forms Survey or poll Contact us Sign up for an email newsletter Register for an event Web Forms All our web pages thus far have had a one-way flow of information, from us to our web visitors. Now we'll

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

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

CSS Review. Objec(ves. Iden(fy the Errors. Fixed CSS. CSS Organiza(on

CSS Review. Objec(ves. Iden(fy the Errors. Fixed CSS. CSS Organiza(on Objec(ves CSS Review Discuss: Ø How Google Search Works Ø What Images You Can Use HTML Forms CSS Review Why CSS? What is the syntax of a CSS rule? What is the order of applying rules in the cascade? How

More information

ORA1134 Oracle Database 12c: Backup and Recovery Workshop

ORA1134 Oracle Database 12c: Backup and Recovery Workshop Tel. +39 02 365738 info@overneteducation.it www.overneteducation.it ORA1134 Oracle Database 12c: Backup and Recovery Workshop Durata: 5 gg Descrizione Questo corso Oracle Database 12c: Backup e Recovery

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

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

HTML crashcourse. general structure tables forms textfield textarea selectbox listbox hidden field checkbox radiobuttons submit button

HTML crashcourse. general structure tables forms textfield textarea selectbox listbox hidden field checkbox radiobuttons submit button HTML crashcourse general structure tables forms textfield textarea selectbox listbox hidden field checkbox radiobuttons submit button Andreas Schmidt HTML Crash-Kurs 1/10 general structure

More information

Surfing Ada for ESP Part 2

Surfing Ada for ESP Part 2 Surfing Ada for ESP Part 2 C. Montangero Dipartimento d Informatica Corso di ESperienze di Programmazione a.a. 2012/13 1 Table of contents 2 CHAPTER 9: Packages Packages allow the programmer to define

More information

FREE STANDING LEAFLET DISPLAY

FREE STANDING LEAFLET DISPLAY esempio 1 model 1 esempio 2 model 2 Geniale sistema modulare per la realizzazione di svariate soluzioni espositive per utilizzo interno. Caratteristica principale è il profilo in alluminio centrale che

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

Metodo di Holt-Winters M. Romito 7 dicembre 2016

Metodo di Holt-Winters M. Romito 7 dicembre 2016 Metodo di Holt-Winters M. Romito 7 dicembre 2016 Smorzamento esponenziale (SE) e smorzamento esponenziale con trend (SET) auto.data

More information

User Data Protocol (2)

User Data Protocol (2) User Data Protocol (2) cosa succede se un altro processo fa la... send quando questo processo e' nella sleep? Thread.sleep(100000); so = new DatagramSocket(porta); so.receive(pacric); catch... ... so =

More information

MWS3-3 - MOC NETWORKING WITH WINDOWS SERVER 2016

MWS3-3 - MOC NETWORKING WITH WINDOWS SERVER 2016 MWS3-3 - MOC 20741 - NETWORKING WITH WINDOWS SERVER 2016 Categoria: Windows Server 2016 INFORMAZIONI SUL CORSO Durata: Categoria: Qualifica Istruttore: Dedicato a: Produttore: 5,00000 Giorni Windows Server

More information

Generatore di parità. LIBRARY ieee; USE ieee.std_logic_1164.all ; ENTITY xor2 IS PORT( A, B : in std_logic ; Y : out std_logic ) ; END xor2 ;

Generatore di parità. LIBRARY ieee; USE ieee.std_logic_1164.all ; ENTITY xor2 IS PORT( A, B : in std_logic ; Y : out std_logic ) ; END xor2 ; LIBRARY ieee; USE ieee.std_logic_1164.all ; ENTITY xor2 IS PORT( A, B : in std_logic ; Y : out std_logic ) ; END xor2 ; ARCHITECTURE arch1 OF Xor2 IS BEGIN Y

More information

Web Application Development (WAD) V th Sem BBAITM (Unit 4) By: Binit Patel

Web Application Development (WAD) V th Sem BBAITM (Unit 4) By: Binit Patel Web Application Development (WAD) V th Sem BBAITM (Unit 4) By: Binit Patel Working with Forms: A very popular way to make a web site interactive is using HTML based forms by the site. Using HTML forms,

More information

HTML Forms IT WS I - Lecture 11

HTML Forms IT WS I - Lecture 11 HTML Forms IT WS I - Lecture 11 Saurabh Barjatiya International Institute Of Information Technology, Hyderabad 04 October, 2009 Contents Seeing submitted values 1 Seeing submitted values 2 3 Seeing submitted

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

Programmi di utilità

Programmi di utilità Programmi di utilità La classe SystemData per il calcolo dei tempi e della occupazione di memoria Per calcolare i tempi e la occupazione di memoria è necessario interagire con il sistema operativo, questo

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

MSQ3-8 - MOC UPDATING YOUR SQL SERVER SKILLS TO MICROSOFT SQL SERVER 2014

MSQ3-8 - MOC UPDATING YOUR SQL SERVER SKILLS TO MICROSOFT SQL SERVER 2014 MSQ3-8 - MOC 10977 - UPDATING YOUR SQL SERVER SKILLS TO MICROSOFT SQL SERVER 2014 Categoria: SQL Server 2014 e 2012 INFORMAZIONI SUL CORSO Durata: Categoria: Qualifica Istruttore: Dedicato a: Produttore:

More information

SAFE DESIGNED IN ITALY CASSEFORTI PER HOTEL HOTEL SAFES

SAFE DESIGNED IN ITALY CASSEFORTI PER HOTEL HOTEL SAFES DESIGNED IN ITALY CASSEFORTI PER HOTEL HOTEL S : I MODELLI : MODELS TOP OPEN DRAWER Innovativa tastiera touch e display led integrato nella porta New touch keypad and stealthy LED display L apertura dall

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

MSPJ-14 - MOC PLANNING, DEPLOYING AND MANAGING MICROSOFT PROJECT SERVER 2013

MSPJ-14 - MOC PLANNING, DEPLOYING AND MANAGING MICROSOFT PROJECT SERVER 2013 MSPJ-14 - MOC 55115 - PLANNING, DEPLOYING AND MANAGING MICROSOFT PROJECT SERVER 2013 Categoria: Project INFORMAZIONI SUL CORSO Durata: Categoria: Qualifica Istruttore: Dedicato a: Produttore: 3 Giorni

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

CSE 154 LECTURE 9: SUBMITTING DATA (POST)

CSE 154 LECTURE 9: SUBMITTING DATA (POST) CSE 154 LECTURE 9: SUBMITTING DATA (POST) Common UI control errors I changed the form's code... but when I refresh, the page doesn't update! By default, when you refresh a page, it leaves the previous

More information

Getting Data from the Web with R

Getting Data from the Web with R Getting Data from the Web with R Part 7: Getting Data via Web Forms Gaston Sanchez April-May 2014 Content licensed under CC BY-NC-SA 4.0 Readme License: Creative Commons Attribution-NonCommercial-ShareAlike

More information

GAF Geography-informed Energy Conservation for Ad Hoc Routing

GAF Geography-informed Energy Conservation for Ad Hoc Routing GAF Geography-informed Energy Conservation for Ad Hoc Routing Ya Xu, John Heidemann, Deborah Estrin USC/ISI, UCLA Energy? Node Density Node Redundancy in Ad Hoc Routing GAF: Geographic Adaptive Fidelity

More information

Serie Sistema scorrevoleve regolabile o fisso per armadi con ante interne. Adjustable or fixed sliding system for wardrobes with internal doors

Serie Sistema scorrevoleve regolabile o fisso per armadi con ante interne. Adjustable or fixed sliding system for wardrobes with internal doors Serie Sistema scorrevoleve regolabile o fisso per armadi con ante interne Adjustable or fixed sliding system for wardrobes with internal doors , 1 1 1, 4 1 1 11, 4 4 4 4 4 4 Posizione binari Rails position

More information

Zend Zend Certified PHP Developer. Download Full Version :

Zend Zend Certified PHP Developer. Download Full Version : Zend 200-550 Zend Certified PHP Developer Download Full Version : http://killexams.com/pass4sure/exam-detail/200-550 QUESTION: 209 What is the return value of the following code: substr_compare("foobar",

More information

CSE 154 LECTURE 19: FORMS AND UPLOADING FILES

CSE 154 LECTURE 19: FORMS AND UPLOADING FILES CSE 154 LECTURE 19: FORMS AND UPLOADING FILES Exercise: Baby name web service JSON Modify our babynames.php service to produce its output as JSON. For the data: Morgan m 375 410 392 478 579 507 636 499

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

Fondamenti di Informatica

Fondamenti di Informatica Fondamenti di Informatica Getting started with Matlab and basic concept of programming Prof. Emiliano Casalicchio http://www.ce.uniroma2.it/courses/foi/ Avvisi n L esame sarà in lingua italiana n L esame

More information

An Introduction to CP

An Introduction to CP An Introduction to CP CP = A technique to solve CSPs and COPs CSP = Constraint Satisfaction Problem COP = Constraint Optimization Problem It. Problema di Soddisfacimento/Ottimizzazione di/con Vincoli A

More information

Tecniche di Progettazione: Design Patterns

Tecniche di Progettazione: Design Patterns Tecniche di Progettazione: Design Patterns GoF: Decorator 1 An example 2 Your first idea of implementation 3 In reality 4 Now a beverage can be mixed from different condiment to form a new beverage 5 6

More information

IEEM 230. PHP Basics, Part IV. Objectives of the lab:

IEEM 230. PHP Basics, Part IV. Objectives of the lab: IEEM 230. PHP Basics, Part IV Objectives of the lab: Learn the fundamentals of PHP - different types of data inputs using web FORMS - I/O from files - more PHP practice Standard PHP reference website:

More information

Table of contents. DMXzoneUniformManual DMXzone

Table of contents. DMXzoneUniformManual DMXzone Table of contents Table of contents... 1 About Uniform... 2 The Basics: Basic Usage of Uniform... 11 Advanced: Updating Uniform Elements on Demand... 19 Reference: Uniform Designs... 26 Video: Basic Usage

More information

4.5 Minimum Spanning Tree. Minimo albero di copertura o ricoprimento

4.5 Minimum Spanning Tree. Minimo albero di copertura o ricoprimento 4.5 Minimum Spanning Tree Minimo albero di copertura o ricoprimento Minimum Spanning Tree (MST) Minimum spanning tree. Given a connected graph G = (V, E) with real-valued edge weights c e, an MST is a

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

Dynamic HTML becomes HTML5. HTML Forms and Server Processing. Form Submission to Web Server. DHTML - Mouse Events. CMST385: Slide Set 8: Forms

Dynamic HTML becomes HTML5. HTML Forms and Server Processing. Form Submission to Web Server. DHTML - Mouse Events. CMST385: Slide Set 8: Forms HTML Forms and Server Processing Forms provide a standard data entry method for users to send information to a web server Clicking button calls a script on server CGI = Common Gateway Interface CGI scripts

More information

SAFE. DESIGNED in italy CASSEFORTI PER HOTEL HOTEL SAFES

SAFE. DESIGNED in italy CASSEFORTI PER HOTEL HOTEL SAFES SAFE DESIGNED in italy CASSEFORTI PER HOTEL HOTEL SAFES SAFE TOP OPEN SAFE DRAWER Innovativo sistema touch e display led integrato nella porta attivabile con tast New touch keypad and stealthy LED display,

More information