PHP.

Slides:



Advertisements
Similar presentations
PHP Form and File Handling
Advertisements

Microsoft Expression Web-Illustrated Unit J: Creating Forms.
Computer Skills /1436 Department of Computer Science Foundation Year Program Umm Alqura University, Makkah Place photo here 1.
PHP Workshop ‹#› Forms (Getting data from users).
JavaScript Forms Form Validation Cookies. What JavaScript can do  Control document appearance and content  Control the browser  Interact with user.
Forms Review. 2 Using Forms tag  Contains the form elements on a web page  Container tag tag  Configures a variety of form elements including text.
1 CS101 Introduction to Computing Lecture 12 Interactive Forms (Web Development Lecture 4)
Web Development & Design Foundations with XHTML Chapter 9 Key Concepts.
Interactive Form 1 Edited By; L.Maha AlAjmi. Revision 2 We learnt how to extend our Web pages by adding a few more tags Specifically, we discussed various.
1 Web Developer & Design Foundations with XHTML Chapter 6 Key Concepts.
Tutorial #9 – Creating Forms. Tutorial #8 Review – Tables Borders (table, gridlines), Border-collapse: collapse; empty-cells: show; and rowspan, colspan.
Week 4  Using PHP with HTML forms  Form Validation  Create your own Contact form Please Visit:
4-Sep-15 HTML Forms Mrs. Goins Web Design Class. Parts of a Web Form A Form is an area that can contain Form Control/Elements. Each piece of information.
HTML Forms What is a form.
WEB FORM DESIGN. Creating forms for a web page For your web project you have to design a form for inclusion on your web site (the form information should.
HTML, XHTML, and CSS Chapter 12 Creating and Using XML Documents.
Mr. Justin “JET” Turner CSCI 3000 – Fall 2015 CRN Section A – TR 9:30-10:45 CRN – Section B – TR 5:30-6:45.
HTML Forms. Today’s Lecture We will try to understand the utility of forms on Web pages We will find out about the various components that are used in.
Mr. Justin “JET” Turner CSCI 3000 – Fall 2015 CRN Section A – TR 9:30-10:45 CRN – Section B – TR 5:30-6:45.
HTML Forms. Today’s Lecture We will try to understand the utility of forms on Web pages We will find out about the various components that are used in.
PHP Form Introduction Getting User Information Text Input.
EFolio Intermediate Adding Content Adding Content Images Images Documents Documents Audio and Video Files. Audio and Video Files. Sidebar - Hyperlinks.
Computer Skills /1436 Department of Computer Science Foundation Year Program Umm Alqura University, Makkah Place photo here 1.
Web Scripting [PHP] CIS166AE Wednesdays 6:00pm – 9:50pm Rob Loy.
Liang, Introduction to Java Programming, Seventh Edition, (c) 2009 Pearson Education, Inc. All rights reserved Chapter 41 JavaServer Face.
Web Scripting [PHP] CIS166AE Wednesdays 6:00pm – 9:50pm Rob Loy.
SYST Web Technologies SYST Web Technologies XHTML Forms.
Mr. Justin “JET” Turner CSCI 3000 – Fall 2015 CRN Section A – TR 9:30-10:45 CRN – Section B – TR 5:30-6:45.
+ FORMS HTML forms are used to pass data to a server. begins and ends a form Forms are made up of input elements Every input element has a name and value.
Starting BBEdit or Notepad and Opening the HTML File Start BBEdit or Notepad Select Open from the File Menu Open survey1.htm from the Public Folder.
Mr. Justin “JET” Turner CSCI 3000 – Fall 2015 CRN Section A – TR 9:30-10:45 CRN – Section B – TR 5:30-6:45.
Mr. Justin “JET” Turner CSCI 3000 – Fall 2015 CRN Section A – TR 9:30-10:45 CRN – Section B – TR 5:30-6:45.
WEB FORM DESIGN. Creating forms for a web page For your web project you have to design a form for inclusion on your web site (the form information should.
HTML FORMS The TEXT Object Presented By: Ankit Gupta.
Mr. Justin “JET” Turner CSCI 3000 – Fall 2015 CRN Section A – TR 9:30-10:45 CRN – Section B – TR 5:30-6:45.
HTML FORM Lab Exercise IST Guideline Add forms in your web page so that visitors can add a comment about your web page Forms should include the.
Project 5: Customizing User Content Essentials for Design JavaScript Level Two Michael Brooks.
Web Forms. Web Forms: A form allows our web visitors to submit information to us. Some examples uses for forms are to let the web user contact us, fill.
HTML III (Forms) Robin Burke ECT 270. Outline Where we are in this class Web applications HTML Forms Break Forms lab.
HTML Structure II (Form) WEEK 2.2. Contents Table Form.
1.Switch on the computer and wait for loading. 2.Select the Windows 7 OS at the end of the list. 3.Click on the link ‘Administrator’ 4.Enter the administrator.
Potential NEALP candidates Where is the data input site?
HTML FORM Assignment P4 IST Guideline Add forms in your web page so that visitors can add a comment about your web page Forms should include the.
Doing Something with All that Data!. On Submit…the data from a form is sent to the.php file listed under action.
Web Forms.
Computer Skills Chapter 9: Microsoft Word /1436
Homework 1 Hints.
Weebly Elements, Continued
New Box Web Experience Inventory of changes.
Web Forms.
**Please view the instructional guide as a slideshow**
How to Write Web Forms By Mimi Opkins.
Using the HTML and CSS Validation Services
Building a User Interface with Forms
Chapter 2 Client/Server Applications
Fastest way for already created documents
Simple PHP application
HTML Forms and User Input
Web Systems Development (CSC-215)
Mary Torjussen A2 ICT Week 1.
Process of cst-registration
Forms, cont’d.
Intro to Forms HTML forms are used to gather information from end-users. A form can contain elements like radio-buttons, text fields, checkboxes, submit.
Intro to Forms HTML forms are used to gather information from end-users. A form can contain elements like radio-buttons, text fields, checkboxes, submit.
Web Forms.
Mr. Justin “JET” Turner CSCI 3000 – Fall 2016 Section DA MW 4:05-5:20
Murach's JavaScript and jQuery (3rd Ed.)
New User Registration Click the ‘Register’ link to create your profile.
Unit 5 Create Forms.
Presentation transcript:

PHP

File Uploads Setting Folder Permissions Path to folder G:\\PleskVhosts\\[your_root domain_here]\\[sub_domain_folder]\\[upload_folder]\\ G:\\PleskVhosts\\csci3000.com\\fa17.csci3000.com\\uploads\\ double slashes used because they are escape characters

List Files scandir($folder) is_dir($item) returns array of folder contents, includes files, folders is_dir($item) to confirm if something is a folder or a file

Questions

PHP Lab – Due Oct 3rd Create a PHP page with a simple web form Include at least: Two text fields (<input type="text">) One drop down (<select>) One radio button group with at least two radio buttons (<input type="radio"> //same name attribute will cause them to group together) A submit button (<input type="submit">) Set up PHP code to validate that all fields had values entered Create styled error messages if fields were not completed Output the values entered on the page using PHP

Project 1 – Responsive Site Due: Oct 6th Build a responsive site with 3+ pages on a separate sub- domain (ex: project1.yourdomain.com) Screen Sizes: Desktop – 1280 X 1024 Tablet – 1024 X 768 Phone – 320 X 480 Home Page Header/Footer Slideshow

Project 1 – Responsive Site Interior Page 1 Header/Footer Main Content + Sidebar Content Interior Page 2 Main Content (no sidebar) Table that fills content area on desktop view (use JS/CSS to adjust for smaller views) Extra Credit (2pts) Tabbed content in desktop view that switches to vertical expandable content in tablet/phone views