Web Programming TL 9. Tutorial. Exercise 1: String Manipulation

Size: px
Start display at page:

Download "Web Programming TL 9. Tutorial. Exercise 1: String Manipulation"

Transcription

1 Exercise 1: String Manipulation Tutorial 1) Which statements print the same thing to the screen and why? echo "$var"; value of $var echo '$var'; the text '$var' echo $var ; value of $var 2) What is printed to the screen and is there a problem?: echo "This should be on its own line.\n"; The \n linefeed will only be visible in the source code, not the page 3) What is written to the file and is there a problem?: fwrite($file,"this should be on its own line.<br/>"; The text "<br/>" won't make a newline in a text file 4) What is returned and is there a problem: $haystack="elephant"; $needle="e"; if (strpos($haystack,$needle)) echo "$needle found in $haystack :-)"; else echo "$needle not found in $haystack :-("; strpos() returns 0 which will be "cast" as false in the if statement, so "E" will not be found. Fix: if(strpos($haystack,$needle)!==false) 5) What do the following code samples do and why are they useful?: $address=ucwords($_post['address']); All word first letters turned into uppercase. Neater, not reliant on user $feedback=str_replace("fork", "spork", $_POST['feedback']); A "spork" manufacturer doesn't want their sporks being called 'forks' 6) How can we improve the following code?: $total=100; $split3ways = $total/3; printf("the total is $total and split 3 ways is $split3ways"); printf("the total is $%1.2f and split 3 ways is $%1.2f",$total,$split3ways); $ and $33.33 will now be printed (what's 1 between friends?) The %1 refers to the minimum space $total and $split3ways will take up The.2 makes sure that there are two decimal places The f formats the variable as a float The $ is just a dollar sign, not that tricky php thing COSC2453 SP4, 2013 page 1 of 6

2 7) How would placing the following code snippets in your footer.inc file help you speed up developing and debugging your next assignment?: <pre><?php print_r ($_POST);?><pre> <pre><?php print_r ($_GET);?><pre> <pre><?php print_r ($_COOKIE);?><pre> <pre><?php print_r ($_SESSION);?><pre> Rhetorical question: This will help the student AND the tutor who is asked to help Exercise 2: $_COOKIE and cookies Note: The server will set a cookie that will expire in approximately _100_ years: setcookie("firstvisit", date("y-m-d@h:i:s"), time()+60*60*24*365.25*100); Output at time of writing was: " @20:12:23" or "{now}" below Event Value of client's cookies Value of $_COOKIE New client contacts server for the first time and requests the home page Server replies and sets a cookie on the client's machine Client requests another page Server sends that page Client shuts down computer and goes on holiday for 3 weeks Client returns home, turns on computer, browses to the server's website again firstvisit = {now} Client get paranoid about having cookies and clears browsing COSC2453 SP4, 2013 page 2 of 6

3 history. Client browses to another of the server's webpages. Server doesn't set a cookie Exercise 4: Code Analysis Questions 1) What will be printed to the screen? Is there a problem and how can we fix it? The value of $value is unchanged: a new local variable is created inside the function and it loses scope once the function is finished. We can fix this by passing $value's reference instead (L8.S47): function increment(&$value) { $value++; }... 2) What does the "@" symbol do in the second code sample?: "@" suppresses errors. Whether this is good practice is open to debate. 3) What does the following code do? How would we call it?: This function reads what's inside a directory into an array and in the loop, each file or directory is echo'ed in it's own paragraph. To read the current directory, we can use this: readir('.'); Exercise 5: Storing Form Data in the Session Object What is the following code sample doing? What happens when the session becomes "full"?: The contents of $_POST is put into a nested array called "FormData". It is possible for a website to use many form pages to collect the data (eg a customer satisfaction survey) and keep the data "alive". It is sensible to limit the amount of data to what is expected, just in case a programming bug allows the user to enter an unlimited amount of data. 10 items or more generates a warning messsage. 20 or more items causes session to be emptied, destroyed and a quick and dirty error message is generated with the "die" command. COSC2453 SP4, 2013 page 3 of 6

4 Exercise 6: Submitting a Form to Itself The first if-branch will run only if data has been submitted. The first time a user comes to the page, $_POST will be and the branch will be skipped. First branch puts the file lines into an array and any spaces or line feed characters are trimmed off the bits when each line is exploded. Boolean $userfound is only set if a match has been found and a welcome message is displayed The second if-branch will run only if $_POST is (ie a first time visitor) OR a user / password combination has not been found (ie invalid data has been entered and it needs to be corrected) The form submits to itself "$_SERVER['PHP_SELF']" in action attribute The previous username entry is put into the input box so the user has some feedback that the password was wrong, but the bad password is discarded NB: for the sake of the exercise, I have the password entered into an input box, not a password box so students can see the bad password input. NOTE: No solutions for the self-exercises, please try on your own and post solutions COSC2453 SP4, 2013 page 4 of 6

5 Exercise 3: $_SESSION and sessions A server can keep a track of every user that is currently requesting resources anywhere in the world, and can even distinguish between two housemates who are visiting the same website at home. It does this using sessions: information unique to each user is stored server-side on the hard drive and also in an associative array called $_SESSION. One common way is to store a session id as a cookie on the client's machine. Remember: Any webpage that uses sessions must have <?php session_start();?> near the top, before any HTML code appears. This either starts a session or keeps an existing session going. Which of the following events will end a session?: User opens a new tab in a browse [ NO, as long as browser still open ] User browses to another website [ NO, as long as browser still open ] User's housemate browses to the same webpage [ NO, server can tell them apart ] Client stops interacting with the browser [ YES, but only after a period of inactivity ] User closes the browser [ YES, session cookies will be destroyed ] User uses a different computer [ YES, server will treat client as a new client ] Server destroys a session using session_destroy(); [ YES, but: client cookies not cleared ] Server is shut down and rebooted [ YES, but: client session cookies might not cleared ] Server is destroyed by a comet [ "NO": How would the client know? (perhaps "YES") ] The aim of this exercise is to think about the client - server relationship. How does each track the other? Obviously a comet hitting a server is a serious session ending event, but the client will spend a while waiting for the server to respond before eventually timing out. In the movies, baddies will wait for other baddies to communicate via walkie-talkies before assuming James Bond or Jason Bourne has taken them out. Which of the following things would you store in $_SESSION, $_COOKIE or not at all?: User's colour preferences for the website [ Either, COOKIE good for revisit ] User's logged in status [ Facebook, Google Docs have COOKIE option, but no for banks! ] User's access privileges (eg customer, administrator etc) [ SESSION: cookies can be modified ] Users POST and GET requests [ Good for forms & questionnaires that are on multiple pages ] User's username [ Facebook, Google Docs have COOKIE option, but no for banks! ] User's password [ Facebook, Google Docs have COOKIE option, but no for banks! ] Errors and debugging hints during website development [ $_SESSION['debug']='Line 25: '.$var; ] When deciding where to store information, one has to think about security v/s convenience. Cookies save the server's hard disk space as client machine stores cookie information, but just like javascript, the server should not trust the the client's data UNLESS the information is not important OR the client has given the server permission (eg "remember me" or "keep me logged in" options on Google, Yahoo & Facebook) COSC2453 SP4, 2013 page 5 of 6

6 ** Lab TEST ** NB: NO PARTIAL MARKS! It's 1 or 0 for each exercise! Exercise 1: Prepare and name assignment 3 files correctly (1 mark) Each of the student's required pages should be visible in this page: Make sure it is their student-id at the top of the page! Exercise 2: Create Include Files (1 mark) Page "cut - up" doesn't need to be as severe as my tute example: as long as there are common "header.inc", "navigation.inc" and "footer.inc" files that contain code common to at least two php pages. Exercise 3: Regular Expression (1 mark) All that is required is the expression. The php validation code is completely optional: ^[\w]+(\.php \.html)$ ie an _alphanumeric char, one or more times, followed by.php or.html file extension. [\w ], [a-za-z0-9_ ] and perhaps even [\S ] is allowed too. Note: This regex will be used by the student to generate the beginnings of a dynamic sitemap in the next labtest. What the rules are for the filename BEFORE the file extension are flexible, as long as the student knows the limitations of their chosen regex. COSC2453 SP4, 2013 page 6 of 6

Some things to watch out for when using PHP and Javascript when building websites

Some things to watch out for when using PHP and Javascript when building websites Some things to watch out for when using PHP and Javascript when building websites Les Hatton 10 Sep 2003 1 PHP PHP is a C-like language which evolved from Perl scripts originally produced by Rasmus Lerdorf

More information

Lecture 7: Dates/Times & Sessions. CS 383 Web Development II Wednesday, February 14, 2018

Lecture 7: Dates/Times & Sessions. CS 383 Web Development II Wednesday, February 14, 2018 Lecture 7: Dates/Times & Sessions CS 383 Web Development II Wednesday, February 14, 2018 Date/Time When working in PHP, date is primarily tracked as a UNIX timestamp, the number of seconds that have elapsed

More information

CSCU9B2 Practical 1: Introduction to HTML 5

CSCU9B2 Practical 1: Introduction to HTML 5 CSCU9B2 Practical 1: Introduction to HTML 5 Aim: To learn the basics of creating web pages with HTML5. Please register your practical attendance: Go to the GROUPS\CSCU9B2 folder in your Computer folder

More information

Hello everyone! Page 1. Your folder should look like this. To start with Run your XAMPP app and start your Apache and MySQL.

Hello everyone! Page 1. Your folder should look like this. To start with Run your XAMPP app and start your Apache and MySQL. Hello everyone! Welcome to our PHP + MySQL (Easy to learn) E.T.L. free online course Hope you have installed your XAMPP? And you have created your forms inside the studio file in the htdocs folder using

More information

Chapter 7:- PHP. Compiled By:- Sanjay Patel Assistant Professor, SVBIT.

Chapter 7:- PHP. Compiled By:- Sanjay Patel Assistant Professor, SVBIT. Chapter 7:- PHP Compiled By:- Assistant Professor, SVBIT. Outline Starting to script on server side, Arrays, Function and forms, Advance PHP Databases:-Basic command with PHP examples, Connection to server,

More information

Guide Campus Global. Participant profile. Barcelona,

Guide Campus Global. Participant profile. Barcelona, Guide Campus Global Participant profile Barcelona, GENERAL INFORMATION 3 HOW TO ACCESS 4 GLOBAL CAMPUS FUNCTIONALITIES 7 1. AT THE TOP 7 2. MENU TO THE LEFT 9 THE GLOBAL CLASSROOM 11 1. GENERAL VIEW 11

More information

BEGINNER PHP Table of Contents

BEGINNER PHP Table of Contents Table of Contents 4 5 6 7 8 9 0 Introduction Getting Setup Your first PHP webpage Working with text Talking to the user Comparison & If statements If & Else Cleaning up the game Remembering values Finishing

More information

Dreamweaver Handout. University of Connecticut Prof. Kent Golden

Dreamweaver Handout. University of Connecticut Prof. Kent Golden Dreamweaver Handout University of Connecticut Prof. Kent Golden Kent@GoldenMultimedia.com www.goldenmultimedia.com Main goal of this handout: To give you the steps needed to create a basic personal website

More information

Center for Faculty Development and Support. Google Docs Tutorial

Center for Faculty Development and Support. Google Docs Tutorial Center for Faculty Development and Support Google Docs Tutorial Table of Contents Overview... 3 Learning Objectives... 3 Access Google Drive... 3 Introduction... 4 Create a Google Document... 4 Upload

More information

CST8207: GNU/Linux Operating Systems I Lab Ten Boot Process and GRUB. Boot Process and GRUB

CST8207: GNU/Linux Operating Systems I Lab Ten Boot Process and GRUB. Boot Process and GRUB Student Name: Lab Section: Boot Process and GRUB 1 Due Date - Upload to Blackboard by 8:30am Monday April 16, 2012 Submit the completed lab to Blackboard following the Rules for submitting Online Labs

More information

Privacy and Security in Online Social Networks Department of Computer Science and Engineering Indian Institute of Technology, Madras

Privacy and Security in Online Social Networks Department of Computer Science and Engineering Indian Institute of Technology, Madras Privacy and Security in Online Social Networks Department of Computer Science and Engineering Indian Institute of Technology, Madras Lecture 07 Tutorial 2 Part 1 Facebook API Hi everyone, welcome to the

More information

URLs and web servers. Server side basics. URLs and web servers (cont.) URLs and web servers (cont.) Usually when you type a URL in your browser:

URLs and web servers. Server side basics. URLs and web servers (cont.) URLs and web servers (cont.) Usually when you type a URL in your browser: URLs and web servers 2 1 Server side basics http://server/path/file Usually when you type a URL in your browser: Your computer looks up the server's IP address using DNS Your browser connects to that IP

More information

Cmpt 101 Lab 1 - Outline

Cmpt 101 Lab 1 - Outline Cmpt 101 Lab 1 - Outline Instructions: Work through this outline completely once directed to by your Lab Instructor and fill in the Lab 1 Worksheet as indicated. Contents PART 1: GETTING STARTED... 2 PART

More information

PHP. Interactive Web Systems

PHP. Interactive Web Systems PHP Interactive Web Systems PHP PHP is an open-source server side scripting language. PHP stands for PHP: Hypertext Preprocessor One of the most popular server side languages Second most popular on GitHub

More information

Analytics, Insights, Cookies, and the Disappearing Privacy

Analytics, Insights, Cookies, and the Disappearing Privacy Analytics, Insights, Cookies, and the Disappearing Privacy What Are We Talking About Today? 1. Logfiles 2. Analytics 3. Google Analytics 4. Insights 5. Cookies 6. Privacy 7. Security slide 2 Logfiles Every

More information

Your Secrets to Coding Fast

Your Secrets to Coding Fast Exclusive PHP Cheat-Sheet: Your Secrets to Coding Fast 1 INTRODUCTION If you re reading this, you probably know what PHP is, and might even be familiar all of the different functions it performs. In this

More information

Software and Programming 1

Software and Programming 1 Software and Programming 1 Lab 1: Introduction, HelloWorld Program and use of the Debugger 17 January 2019 SP1-Lab1-2018-19.pptx Tobi Brodie (tobi@dcs.bbk.ac.uk) 1 Module Information Lectures: Afternoon

More information

CMSC 201 Spring 2016 Homework 7 Strings and File I/O

CMSC 201 Spring 2016 Homework 7 Strings and File I/O CMSC 201 Spring 2016 Homework 7 Strings and File I/O Assignment: Homework 7 Strings and File I/O Due Date: Monday, April 4th, 2016 by 8:59:59 PM Value: 40 points Homework 7 is designed to help you practice

More information

COMS 469: Interactive Media II

COMS 469: Interactive Media II COMS 469: Interactive Media II Agenda Review Files and Directories Review User Defined Functions Cookies File Includes CMS Admin Login Review User Defined Functions Input arguments Output Return values

More information

Introduction. Server-side Techniques. Introduction. 2 modes in the PHP processor:

Introduction. Server-side Techniques. Introduction. 2 modes in the PHP processor: Introduction Server-side Techniques PHP Hypertext Processor A very popular server side language on web Code embedded directly into HTML documents http://hk2.php.net/downloads.php Features Free, open source

More information

You can also set the expiration time of the cookie in another way. It may be easier than using seconds.

You can also set the expiration time of the cookie in another way. It may be easier than using seconds. What is a Cookie? A cookie is often used to identify a user. A cookie is a small file that the server embeds on the user's computer. Each time the same computer requests a page with a browser, it will

More information

LimeSurvey. You must have at least one group in each survey, even if you do not wish to divide the survey into multiple groups.

LimeSurvey. You must have at least one group in each survey, even if you do not wish to divide the survey into multiple groups. LimeSurvey Basic Survey Elements A survey has three integral elements, each of which must exist: 1) A survey name 2) At least one group 3) At least one question Survey Name The survey name provides the

More information

CONTENTS IN DETAIL INTRODUCTION 1 THE FAQS OF LIFE THE SCRIPTS EVERY PHP PROGRAMMER WANTS (OR NEEDS) TO KNOW 1 2 CONFIGURING PHP 19

CONTENTS IN DETAIL INTRODUCTION 1 THE FAQS OF LIFE THE SCRIPTS EVERY PHP PROGRAMMER WANTS (OR NEEDS) TO KNOW 1 2 CONFIGURING PHP 19 CONTENTS IN DETAIL INTRODUCTION xiii 1 THE FAQS OF LIFE THE SCRIPTS EVERY PHP PROGRAMMER WANTS (OR NEEDS) TO KNOW 1 #1: Including Another File as a Part of Your Script... 2 What Can Go Wrong?... 3 #2:

More information

3 The Building Blocks: Data Types, Literals, and Variables

3 The Building Blocks: Data Types, Literals, and Variables chapter 3 The Building Blocks: Data Types, Literals, and Variables 3.1 Data Types A program can do many things, including calculations, sorting names, preparing phone lists, displaying images, validating

More information

NELPAE Methodology - coordinated by Alexandru Mîtã

NELPAE Methodology - coordinated by Alexandru Mîtã 1. Accessing the E-learning platform of the NELPAE Grundtvig Learning Partnership NELPAE - You can access it by going to the site http://www.nelpae.ro/campus3 The image below shows the page to be displayed.

More information

Form Validation (with jquery, HTML5, and CSS) MIS Konstantin Bauman. Department of MIS Fox School of Business Temple University

Form Validation (with jquery, HTML5, and CSS) MIS Konstantin Bauman. Department of MIS Fox School of Business Temple University Form Validation (with jquery, HTML5, and CSS) MIS 2402 Konstantin Bauman Department of MIS Fox School of Business Temple University Exam 2 Date: 11/06/18 three weeks from now! JavaScript, jquery 1 hour

More information

E-Business Systems 1 INTE2047 Lab Exercises. Lab 5 Valid HTML, Home Page & Editor Tables

E-Business Systems 1 INTE2047 Lab Exercises. Lab 5 Valid HTML, Home Page & Editor Tables Lab 5 Valid HTML, Home Page & Editor Tables Navigation Topics Covered Server Side Includes (SSI) PHP Scripts menu.php.htaccess assessment.html labtasks.html Software Used: HTML Editor Background Reading:

More information

Café Soylent Green Chapter 12

Café Soylent Green Chapter 12 Café Soylent Green Chapter 12 This version is for those students who are using Dreamweaver CS6. You will be completing the Forms Tutorial from your textbook, Chapter 12 however, you will be skipping quite

More information

Syncplicity is an application that allows you to sync and share files securely from any device.

Syncplicity is an application that allows you to sync and share files securely from any device. Syncplicity is an application that allows you to sync and share files securely from any device. The features include the ability to: share files with faculty, staff and students share files with those

More information

Welcome to First Security Mobile

Welcome to First Security Mobile Welcome to First Security Mobile Frequently Asked Questions Questions General How much does this service cost? Is it secure? Which wireless carriers are supported? Do I need a data plan? I'm not enrolled

More information

National College of Ireland BSc in Computing 2017/2018. Deividas Sevcenko X Multi-calendar.

National College of Ireland BSc in Computing 2017/2018. Deividas Sevcenko X Multi-calendar. National College of Ireland BSc in Computing 2017/2018 Deividas Sevcenko X13114654 X13114654@student.ncirl.ie Multi-calendar Technical Report Table of Contents Executive Summary...4 1 Introduction...5

More information

Visual Workflow Implementation Guide

Visual Workflow Implementation Guide Version 30.0: Spring 14 Visual Workflow Implementation Guide Note: Any unreleased services or features referenced in this or other press releases or public statements are not currently available and may

More information

COMP519 Practical 5 JavaScript (1)

COMP519 Practical 5 JavaScript (1) COMP519 Practical 5 JavaScript (1) Introduction This worksheet contains exercises that are intended to familiarise you with JavaScript Programming. While you work through the tasks below compare your results

More information

PHP CURRICULUM 6 WEEKS

PHP CURRICULUM 6 WEEKS PHP CURRICULUM 6 WEEKS Hands-On Training In this course, you develop PHP scripts to perform a variety to takes, culminating in the development of a full database-driven Web page. Exercises include: Accessing

More information

Mobile Site Development

Mobile Site Development Mobile Site Development HTML Basics What is HTML? Editors Elements Block Elements Attributes Make a new line using HTML Headers & Paragraphs Creating hyperlinks Using images Text Formatting Inline styling

More information

Qualys SAML 2.0 Single Sign-On (SSO) Technical Brief

Qualys SAML 2.0 Single Sign-On (SSO) Technical Brief Qualys SAML 2.0 Single Sign-On (SSO) Technical Brief Qualys provides its customers the option to use SAML 2.0 Single SignOn (SSO) authentication with their Qualys subscription. When implemented, Qualys

More information

Intro to Event-Driven Programming

Intro to Event-Driven Programming Unit 5. Lessons 1 to 5 AP CS P We roughly follow the outline of assignment in code.org s unit 5. This is a continuation of the work we started in code.org s unit 3. Occasionally I will ask you to do additional

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

Babu Madhav Institute of Information Technology, UTU 2017

Babu Madhav Institute of Information Technology, UTU 2017 Practical No: 1 5 years Integrated M.Sc.(IT) 060010811 Content Management Systems Practical List Write a PHP script to create one variable $department and assign a value BMIIT. Show value of $department

More information

Mount Saint Mary College, Newburgh, NY Internet Programming III - CIT310

Mount Saint Mary College, Newburgh, NY Internet Programming III - CIT310 Warm up mini-lab Lab 1 - Functions Type in the following function definition and calls to the function. Test it and understand it. function myprint($str= No String Supplied ) // the argument is optional

More information

FIREFOX MENU REFERENCE This menu reference is available in a prettier format at

FIREFOX MENU REFERENCE This menu reference is available in a prettier format at FIREFOX MENU REFERENCE This menu reference is available in a prettier format at http://support.mozilla.com/en-us/kb/menu+reference FILE New Window New Tab Open Location Open File Close (Window) Close Tab

More information

Adobe Dreamweaver CS5 Tutorial

Adobe Dreamweaver CS5 Tutorial Adobe Dreamweaver CS5 Tutorial GETTING STARTED This tutorial focuses on the basic steps involved in creating an attractive, functional website. In using this tutorial you will learn to design a site layout,

More information

Tesco Bank Click2Park - User Guide

Tesco Bank Click2Park - User Guide Table of Contents 1. Introduction 1.0 Overview of Car Share, Blue Badge Permits & HotSpaces 1.1 Registering with Click2Park 1.2 Logging On to Click2Park 2. Getting to Know Click2Park 2.1 Space Types 2.2

More information

PHP 5 Introduction. What You Should Already Know. What is PHP? What is a PHP File? What Can PHP Do? Why PHP?

PHP 5 Introduction. What You Should Already Know. What is PHP? What is a PHP File? What Can PHP Do? Why PHP? PHP 5 Introduction What You Should Already Know you should have a basic understanding of the following: HTML CSS What is PHP? PHP is an acronym for "PHP: Hypertext Preprocessor" PHP is a widely-used, open

More information

Google Classroom Help Sheet

Google Classroom Help Sheet 1 Google Classroom Help Sheet Table of Contents Introduction Signing into Google Classroom Creating a Class Changing a Class Theme Adding a Teacher Photo to the Class Renaming or Deleting a Class Adding

More information

ACS 5.x: LDAP Server Configuration Example

ACS 5.x: LDAP Server Configuration Example ACS 5.x: LDAP Server Configuration Example Document ID: 113473 Contents Introduction Prerequisites Requirements Components Used Conventions Background Information Directory Service Authentication Using

More information

What is PHP? [1] Figure 1 [1]

What is PHP? [1] Figure 1 [1] PHP What is PHP? [1] PHP is an acronym for "PHP: Hypertext Preprocessor" PHP is a widely-used, open source scripting language PHP scripts are executed on the server PHP is free to download and use Figure

More information

You will always have access to the training area if you want to experiment or repeat this tutorial.

You will always have access to the training area if you want to experiment or repeat this tutorial. EasySite Tutorial: Part One Welcome to the EasySite tutorial session. Core Outcomes After this session, you will be able to: Create new pages and edit existing pages on Aston s website. Add different types

More information

Database Systems Fundamentals

Database Systems Fundamentals Database Systems Fundamentals Using PHP Language Arman Malekzade Amirkabir University of Technology (Tehran Polytechnic) Notice: The class is held under the supervision of Dr.Shiri github.com/arman-malekzade

More information

The aim of this guide is to offer specific support for the use of features and tools within Blackboard. This guide includes information on:

The aim of this guide is to offer specific support for the use of features and tools within Blackboard. This guide includes information on: Blackboard Guide for Students The aim of this guide is to offer specific support for the use of features and tools within Blackboard. This guide includes information on: What is Blackboard Accessing Blackboard

More information

PHP and MySQL for Dynamic Web Sites. Intro Ed Crowley

PHP and MySQL for Dynamic Web Sites. Intro Ed Crowley PHP and MySQL for Dynamic Web Sites Intro Ed Crowley Class Preparation If you haven t already, download the sample scripts from: http://www.larryullman.com/books/phpand-mysql-for-dynamic-web-sitesvisual-quickpro-guide-4thedition/#downloads

More information

Roxen Content Provider

Roxen Content Provider Roxen Content Provider Generation 3 Templates Purpose This workbook is designed to provide a training and reference tool for placing University of Alaska information on the World Wide Web (WWW) using the

More information

JavaScript Functions, Objects and Array

JavaScript Functions, Objects and Array JavaScript Functions, Objects and Array Defining a Function A definition starts with the word function. A name follows that must start with a letter or underscore, followed by any number of letters, digits,

More information

Google Classroom Help Sheet

Google Classroom Help Sheet 1 Google Classroom Help Sheet Table of Contents Introduction Signing into Google Classroom Creating a Class Changing a Class Theme Adding a Teacher Photo to the Class Renaming or Deleting a Class Adding

More information

Lecture 3: Web Servers / PHP and Apache. CS 383 Web Development II Monday, January 29, 2018

Lecture 3: Web Servers / PHP and Apache. CS 383 Web Development II Monday, January 29, 2018 Lecture 3: Web Servers / PHP and Apache CS 383 Web Development II Monday, January 29, 2018 Server Configuration One of the most common configurations of servers meant for web development is called a LAMP

More information

How to Use Google. Sign in to your Chromebook. Let s get started: The sign-in screen. https://www.youtube.com/watch?v=ncnswv70qgg

How to Use Google. Sign in to your Chromebook. Let s get started: The sign-in screen. https://www.youtube.com/watch?v=ncnswv70qgg How to Use Google Sign in to your Chromebook https://www.youtube.com/watch?v=ncnswv70qgg Use a Google Account to sign in to your Chromebook. A Google Account lets you access all of Google s web services

More information

Web publishing training pack Level 3 Forms

Web publishing training pack Level 3 Forms Web publishing training pack Level 3 Forms Learning objective: Forms for submitting data - create and manage forms where data is saved in the Web Publishing System (e.g. questionnaire, registration, feedback).

More information

5 MANAGING USER ACCOUNTS AND GROUPS

5 MANAGING USER ACCOUNTS AND GROUPS MANAGING USER ACCOUNTS AND GROUPS.1 Introduction to user accounts Objectives.2 Types of User Accounts.2.1 Local User Account.2.2 Built-in User Account.2.3 Domain User Account.3 User Profile.3.1 Content

More information

TransUnion Direct User Guide

TransUnion Direct User Guide Topics Welcome to TransUnion Direct... 2 The First Time You Log Into TransUnion Direct... 4 Individual Services... 5 Portfolio Services... 15 Activity Reports... 17 Your User Profile... 19 Help Resources...

More information

BE Share. Microsoft Office SharePoint Server 2010 Basic Training Guide

BE Share. Microsoft Office SharePoint Server 2010 Basic Training Guide BE Share Microsoft Office SharePoint Server 2010 Basic Training Guide Site Contributor Table of Contents Table of Contents Connecting From Home... 2 Introduction to BE Share Sites... 3 Navigating SharePoint

More information

CSE 154 LECTURE 13: SESSIONS

CSE 154 LECTURE 13: SESSIONS CSE 154 LECTURE 13: SESSIONS Expiration / persistent cookies setcookie("name", "value", expiration); $expiretime = time() + 60*60*24*7; # 1 week from now setcookie("couponnumber", "389752", $expiretime);

More information

Virto Active Directory Service for SharePoint. Release Installation and User Guide

Virto Active Directory Service for SharePoint. Release Installation and User Guide Virto Active Directory Service for SharePoint Release 4.1.2 Installation and User Guide 2 Table of Contents OVERVIEW... 3 SYSTEM REQUIREMENTS... 4 OPERATING SYSTEM... 4 SERVER... 4 BROWSER... 5 INSTALLATION...

More information

ECE2049 Embedded Computing in Engineering Design. Lab #0 Introduction to the MSP430F5529 Launchpad-based Lab Board and Code Composer Studio

ECE2049 Embedded Computing in Engineering Design. Lab #0 Introduction to the MSP430F5529 Launchpad-based Lab Board and Code Composer Studio ECE2049 Embedded Computing in Engineering Design Lab #0 Introduction to the MSP430F5529 Launchpad-based Lab Board and Code Composer Studio In this lab you will be introduced to the Code Composer Studio

More information

One of the fundamental kinds of websites that SharePoint 2010 allows

One of the fundamental kinds of websites that SharePoint 2010 allows Chapter 1 Getting to Know Your Team Site In This Chapter Requesting a new team site and opening it in the browser Participating in a team site Changing your team site s home page One of the fundamental

More information

CSE115 Lab exercises for week 1 of recitations Spring 2011

CSE115 Lab exercises for week 1 of recitations Spring 2011 Introduction In this first lab you will be introduced to the computing environment in the Baldy 21 lab. If you are familiar with Unix or Linux you may know how to do some or all of the following tasks.

More information

JCCC Virtual Labs. Click the link for more information on installing on that device type. Windows PC/laptop Apple imac or MacBook ipad Android Linux

JCCC Virtual Labs. Click the link for more information on installing on that device type. Windows PC/laptop Apple imac or MacBook ipad Android Linux JCCC Virtual Labs Revision 9/21/2017 http://ats.web. Welcome to the JCCC Virtual Lab Environment. This system allows students to access campus software titles on their personal computers from almost anywhere.

More information

Azon Master Class. By Ryan Stevenson Guidebook #10 Google and YouTube Marketing

Azon Master Class. By Ryan Stevenson   Guidebook #10 Google and YouTube Marketing Azon Master Class By Ryan Stevenson https://ryanstevensonplugins.com/ Guidebook #10 Google and YouTube Marketing Table of Contents 1. Google Analytics 2. Google Webmaster Tools 3. Google Plus 4. YouTube

More information

PHP Reference. To access MySQL manually, run the following command on the machine, called Sources, where MySQL and PhP have been installed:

PHP Reference. To access MySQL manually, run the following command on the machine, called Sources, where MySQL and PhP have been installed: PHP Reference 1 Preface This tutorial is designed to teach you all the PHP commands and constructs you need to complete your PHP project assignment. It is assumed that you have never programmed in PHP

More information

Information Services Portal

Information Services Portal Information Services provided by Business Services Authority Information Services Portal Quick start guide ISP User Guide (V0.5) 06.2016 Logging in Before logging in, make sure you have activated your

More information

Getting Started With UNIX Lab Exercises

Getting Started With UNIX Lab Exercises Getting Started With UNIX Lab Exercises This is the lab exercise handout for the Getting Started with UNIX tutorial. The exercises provide hands-on experience with the topics discussed in the tutorial.

More information

Module 5: Javascript, Cookies COM 420

Module 5: Javascript, Cookies COM 420 Module 5: Javascript, Cookies COM 420 What is the real Internet Lab 1 Review Many Nesting Problems How to check your code Why is nesting Important Recap how grades work in the class Re-Submitting and updating

More information

Altice Business Hosted Voice. Business Group Admin Guide. v

Altice Business Hosted Voice. Business Group Admin Guide. v Altice Business Hosted Voice Business Group Admin Guide v03-27-18 Contents 1 Introduction... 1-1 1.1 Purpose of this guide... 1-1 1.2 Other guides... 1-1 2 CommPortal Business Group Administrator (BG

More information

Week - 01 Lecture - 04 Downloading and installing Python

Week - 01 Lecture - 04 Downloading and installing Python Programming, Data Structures and Algorithms in Python Prof. Madhavan Mukund Department of Computer Science and Engineering Indian Institute of Technology, Madras Week - 01 Lecture - 04 Downloading and

More information

PHP State Maintenance (Cookies, Sessions, Hidden Inputs)

PHP State Maintenance (Cookies, Sessions, Hidden Inputs) PHP State Maintenance (Cookies, Sessions, Hidden Inputs) What is meant by state? The Hypertext Transfer Protocol (HTTP) is stateless. This means that each time a browser requests a page, a connection from

More information

CS 1110, LAB 3: MODULES AND TESTING First Name: Last Name: NetID:

CS 1110, LAB 3: MODULES AND TESTING   First Name: Last Name: NetID: CS 1110, LAB 3: MODULES AND TESTING http://www.cs.cornell.edu/courses/cs11102013fa/labs/lab03.pdf First Name: Last Name: NetID: The purpose of this lab is to help you better understand functions, and to

More information

Website/Blog Admin Using WordPress

Website/Blog Admin Using WordPress Website/Blog Admin Using WordPress Table of Contents How to login... 2 How to get support... 2 About the WordPress dashboard... 3 WordPress pages vs posts... 3 How to add a new blog post... 5 How to edit

More information

Coaching Applicant Information

Coaching Applicant Information Coaching Applicant Information Welcome to the Boulder Valley School District s online application system. We are pleased about your interest in applying for employment with our school district. Our online

More information

University of Washington, CSE 154 Homework Assignment 7: To-Do List

University of Washington, CSE 154 Homework Assignment 7: To-Do List University of Washington, CSE 154 Homework Assignment 7: To-Do List In this assignment you will write a web application for an online to-do list. The assignment tests your understanding of user login sessions

More information

1. Go to https://online.national.edu/ 2. Click the link at the bottom that says Please click here for a System Check before you log in.

1. Go to https://online.national.edu/ 2. Click the link at the bottom that says Please click here for a System Check before you log in. Desire 2 Learn User Guide Desire 2 Learn User Guide Using the System Check Quick Link You can use the quick link on the entry page of the online classroom for a general test of your computer s preparedness

More information

Table of Contents. EPSS help desk. Phone: (English, French, German, Dutch, Greek)

Table of Contents. EPSS help desk. Phone: (English, French, German, Dutch, Greek) Release Date: 24 July 2003, revised 3 August 2005 Table of Contents 1 EPSS Online Preparation User s Guide... 3 1.1 Getting a user ID and password... 3 1.2 Login... 4 1.2.1 Initial Login... 4 1.2.2 Subsequent

More information

CITS1231 Web Technologies. PHP s, Cookies and Session Control

CITS1231 Web Technologies. PHP  s, Cookies and Session Control CITS1231 Web Technologies PHP Emails, Cookies and Session Control Sending email with PHP We have looked at storing user information using files. Email messages can also be thought of as data streams, providing

More information

Exercise 1 Using Boolean variables, incorporating JavaScript code into your HTML webpage and using the document object

Exercise 1 Using Boolean variables, incorporating JavaScript code into your HTML webpage and using the document object CS1046 Lab 5 Timing: This lab should take you approximately 2 hours. Objectives: By the end of this lab you should be able to: Recognize a Boolean variable and identify the two values it can take Calculate

More information

B. V. Patel Institute of BMC & IT 2014

B. V. Patel Institute of BMC & IT 2014 Unit 1: Introduction Short Questions: 1. What are the rules for writing PHP code block? 2. Explain comments in your program. What is the purpose of comments in your program. 3. How to declare and use constants

More information

FORGOT PASSWORD INSTRUCTIONS

FORGOT PASSWORD INSTRUCTIONS FORGOT PASSWORD INSTRUCTIONS Before continuing, please read the following: If you are a NEW user to the Employee Self Service (ESS) application or if you have accessed ESS previously but NEVER established

More information

ADOBE DREAMWEAVER CS4 BASICS

ADOBE DREAMWEAVER CS4 BASICS ADOBE DREAMWEAVER CS4 BASICS Dreamweaver CS4 2 This tutorial focuses on the basic steps involved in creating an attractive, functional website. In using this tutorial you will learn to design a site layout,

More information

Settings. Overview. OU Campus Settings Page 1 of 13

Settings. Overview. OU Campus Settings Page 1 of 13 Settings Overview OU Calendar has a number of different settings, both for the public calendar and for the admin interface, that can be configured. The Settings menu contains two sections: General Actions

More information

Dreamweaver is a full-featured Web application

Dreamweaver is a full-featured Web application Create a Dreamweaver Site Dreamweaver is a full-featured Web application development tool. Dreamweaver s features not only assist you with creating and editing Web pages, but also with managing and maintaining

More information

Screening Information System SIS. Login user manual

Screening Information System SIS. Login user manual Screening Information System SIS Login user manual 1 Email Encryption Instructions IMPORTANT *** Web email does not work when receiving encrypted messages from CDPH*** 1) Step one is receiving the email

More information

Applying for Jobs Online

Applying for Jobs Online Applying for Jobs Online Hi, I m Sarah. I m here to show you how to apply for a job using an online application form. Most jobs now require you to fill out an application on the Internet. In this course

More information

There are four (4) skills every Drupal editor needs to master:

There are four (4) skills every Drupal editor needs to master: There are four (4) skills every Drupal editor needs to master: 1. Create a New Page / Edit an existing page. This entails adding text and formatting the content properly. 2. Adding an image to a page.

More information

Manual Html A Href Onclick Submit Form

Manual Html A Href Onclick Submit Form Manual Html A Href Onclick Submit Form JS HTML DOM. DOM Intro DOM Methods HTML form validation can be done by a JavaScript. If a form field _input type="submit" value="submit" /form_. As shown in a previous

More information

Author: Group 03 Yuly Suvorov, Luke Harvey, Ben Holland, Jordan Cook, Michael Higdon. All Completed SRS2 Steps

Author: Group 03 Yuly Suvorov, Luke Harvey, Ben Holland, Jordan Cook, Michael Higdon. All Completed SRS2 Steps Software Requirements Document for Graffiti Author: Group 03 Yuly Suvorov, Luke Harvey, Ben Holland, Jordan Cook, Michael Higdon Version Date Author Change 0.1 09/13/ SM Initial Document 07 0.2 09/22/

More information

How to Edit Your Website

How to Edit Your Website How to Edit Your Website A guide to using your Content Management System Overview 2 Accessing the CMS 2 Choosing Your Language 2 Resetting Your Password 3 Sites 4 Favorites 4 Pages 5 Creating Pages 5 Managing

More information

Dreamweaver is a full-featured Web application

Dreamweaver is a full-featured Web application Create a Dreamweaver Site Dreamweaver is a full-featured Web application development tool. Dreamweaver s features not only assist you with creating and editing Web pages, but also with managing and maintaining

More information

Basic Types, Variables, Literals, Constants

Basic Types, Variables, Literals, Constants Basic Types, Variables, Literals, Constants What is in a Word? A byte is the basic addressable unit of memory in RAM Typically it is 8 bits (octet) But some machines had 7, or 9, or... A word is the basic

More information

8 MANAGING SHARED FOLDERS & DATA

8 MANAGING SHARED FOLDERS & DATA MANAGING SHARED FOLDERS & DATA STORAGE.1 Introduction to Windows XP File Structure.1.1 File.1.2 Folder.1.3 Drives.2 Windows XP files and folders Sharing.2.1 Simple File Sharing.2.2 Levels of access to

More information

Here's an example of how the method works on the string "My text" with a start value of 3 and a length value of 2:

Here's an example of how the method works on the string My text with a start value of 3 and a length value of 2: CS 1251 Page 1 Friday Friday, October 31, 2014 10:36 AM Finding patterns in text A smaller string inside of a larger one is called a substring. You have already learned how to make substrings in the spreadsheet

More information

There are two tools with which you should be familiar: the program su, and more importantly, sudo. Here we see how to use them.

There are two tools with which you should be familiar: the program su, and more importantly, sudo. Here we see how to use them. Operating Systems and Systems Integration Administration, the root User and Configuring sudo 1 Aim The aim of this activity is to understand the purpose of the root account, and the security risks of logging

More information

CAL 9-2: Café Soylent Green Chapter 12

CAL 9-2: Café Soylent Green Chapter 12 CAL 9-2: Café Soylent Green Chapter 12 This version is for those students who are using Dreamweaver CC. You will be completing the Forms Tutorial from your textbook, Chapter 12 however, you will be skipping

More information

NBT BANK MOBILE BANKING. How To Guide

NBT BANK MOBILE BANKING. How To Guide TABLE OF CONTENTS PERSONAL AND BUSINESS BANKING CUSTOMERS How to Enroll...3 Accessing and Using NBT Bank Mobile Banking...5 Welcome to the NBT Bank Mobile Banking Application...7 Using Mobile Deposit...8

More information