XAMPP Installation 1

Size: px
Start display at page:

Download "XAMPP Installation 1"

Transcription

1 XAMPP Installation 1

2 Introducing XAMPP An integration package containing a number of useful packages that make it easy to host web sites on various platforms. Apache MySQL - PHP WAMP or LAMP Allow the ease of installation and set up Main Page: 2

3 Introducing XAMPP (cont.) Basic packages include system, programming & server software: Apache: the famous Web server MySQL: the widely-used, free, open source database PHP: the programming language Perl: the programming language ProFTPD: an FTP server OpenSSL: for secure sockets layer support PhpMyAdmin: for MySQL admin. 3

4 XAMPP Installation Download XAMPP installer and let the install begin: Using the installer version is the easiest way to install XAMPP. Use default directory for convenience 4

5 There can be some problems Port 80 (Apache s default port) can be occupied by other programs 5

6 XAMPP Directories XAMPP default installation directory is c:/xampp/ The directory of interest is c:/xampp/htdocs/ and it s called the webroot (or document root) PHP files are put in the webroot (c:/xampp/htdocs/) c:/xampp/htdocs/ maps to For example, c:/xampp/htdocs/project/script.php maps to If no file is specified, Apache looks for index.php For example, c:/xampp/htdocs/project/ maps to 6

7 Installation complete! 7

8 XAMPP Control Panel No need to tick for running as service Apache HTTP Server MySQL DBMS FileZilla FTP Client Mercury SMTP Client 8

9 Starting Apache & MySQL Toggle button 9

10 Type or If the server is up and running, you will get this splash screen. Click on English. 10

11 Once English is clicked on, the Welcome webpage is shown for XAMPP. 11

12 You re not accessing the WWW but rather a webpage locally hosted on your computer, which is now running as a web server (localhost). 12

13 Click on Status to determine if everything is working correctly. 13

14 What you chose to install should be lighted green on this chart 14

15 Check the working environment Click on phpinfo() to check the working environment. 15

16 From, Tools phpmyadmin, we can manage MySQL 16

17 PHP Fundamentals PHP Hello World Example PHP Variables Variable Types Working with User Input Variable Operators Conditional Statements 17

18 What is PHP? PHP: Hypertext Preprocessor Server-side scripting language Creation of dynamic content Interaction with databases Can be embedded in HTML Open source, written in C First introduced in 1995; at that time PHP stood for Personal Home Page. Similar to Perl and C 18

19 Exercise #1: Hello PHP The PHP code is usually in files with extension ".php <?php denotes start of PHP code?> denotes end of PHP code The PHP code can be nested within HTML code. <html> PHP statements <head><title>hello world page</title></head> must be ended with <body> a semicolon. Hello <?php HTML! echo "Hello PHP!";?> </body> </html> 19

20 Client-side vs. Server-side Script PHP code is never sent to a client s Web browser; only the HTML output of the processing <html> is sent to the browser. <head><title>hello world page</title></head> <body> Hello HTML!<br> <?php echo "Hello PHP!";?> </body> </html> 20

21 Client-side vs. Server-side Script HTML code is processed by browsers as web pages are loading. (client-side) PHP code is preprocessed by PHP Web servers that parse requested web pages as they are being passed out to the browser. (Server-side) You can embed sections of PHP inside HTML: <BODY> <p> <?php $test = "Hello World!"; echo $test;?> </p> </BODY> Or, you can call HTML from PHP : <?php echo "<html><head><title>hello</title>?> 21

22 PHP Comments You can add comments to the code Starting with "//", "#" or block in "/*" and "*/" Only "/*" "*/" can be used over several lines Comments are NOT executed 22

23 PHP Fundamentals PHP Hello World Example PHP Variables Variable Types Working with User Input Variable Operators Conditional Statements 23

24 PHP Variables What are variables? The values stored in computer memory are called variables. The values, or data, contained in variables are classified into categories known as data types. The name you assign to a variable is called an identifier. 24

25 PHP Variables Prefixed with a $ (Perl style) Assign values with = operator Example: $name = John Doe ; No need to define type Variable names are case sensitive $name and $Name are different 25

26 PHP Variables <?php // declare string variable $output $output = "<b>hello PHP!</b>"; Echo $output; Hello PHP!?> Each variable is declared when it's first assigned value. The type of the value determines the type of the variable. 26

27 PHP Fundamentals PHP Hello World Example PHP Variables Variable Types Working with User Input Variable Operators Conditional Statements 27

28 Variable/Data Types A data type is the specific category of information that a variable contains Possible PHP Variable Types are: Numeric (real or integer) Boolean (TRUE or FALSE) String (set of characters) 28

29 Variable/Data Types Unlike C, PHP is not strictly typed. PHP decides what type a variable is based on its value. PHP can use variables in an appropriate way automatically For Example: $HST = 0.12; // HST Rate is numeric echo $HST * 100. % ; //outputs 12% $HST is automatically converted to a string for the purpose of echo statement 29

30 Displaying Variables To display a variable with the echo statement, pass the variable name to the echo statement without enclosing it in quotation marks : $VotingAge = 18; echo $VotingAge; To display both text strings and variables, you may used concatenation operator. : echo "<p>the legal voting age is. $VotingAge. ".</p>"; Concat. operator Period 30

31 Naming Variables The name you assign to a variable is called an identifier The following rules and conventions must be followed when naming a variable: Identifiers must begin with a dollar sign ($) Identifiers may contain uppercase and lowercase letters, numbers, or underscores (_). The first character after the dollar sign must be a letter. Identifiers cannot contain spaces or special characters. Identifiers are case sensitive 31

32 Declaring and Initializing Variables Specifying and creating a variable name is called declaring the variable Assigning a first value to a variable is called initializing the variable In PHP, you must declare and initialize a variable in the same statement: $variable_name = value; 32

33 PHP Strings String values Strings may be in single or double quotes <? $output1 = "Hello PHP!"; $output2 = 'Hello again!';?> Start and end quote type should match Difference between two types of quotes is the escape sequences 33

34 Strings escaping Special chars in strings are escaped with backslashes (C style) Double-quoted string $str1 = "this is \"PHP\""; echo $str1; outputs this is PHP Single-quoted string $str2 = ' "I\'ll be back ", he said. '; echo $str2; outputs "I'll be back", he said. 34

35 Variables in strings Double quoted strings offer something more: $saying = "I'll be back!"; $str1 = He told me: $saying"; outputs He told me: I'll be back! Variables are evaluated in double-quoted strings, but not in single-quoted strings. $saying = "I'll be back!"; $str2 = He told me: $saying ; outputs He told me: $saying For single-quoted strings, use concatenation: $saying = "I'll be back!"; $str3 = He told me:. $saying; outputs He told me: I'll be back! 35

36 PHP Fundamentals PHP Hello World Example PHP Variables Variable Types Working with User Input Variable Operators Conditional Statements 36

37 Working with user input The user sends data to the server only one way with HTML Forms They are sets of fields that determine the types of data to be sent. The server receives the filled-in data and sends the HTML response back to the user/ The forms data is similar to user inputs to a normal application 37

38 How Does It Work The user enters data and submits the form. The form has "action" URL to send the data to. <? echo "Welcome ".$_POST ['username']."!";?> The PHP script receives the data as $_GET and $_POST arrays and runs. <body> Welcome Mike! Producing HTML according to user's posted data. 38

39 $_POST and $_GET PHP receives the data in the $_GET and $_POST arrays URL parameters (data from HTML forms with method= GET ) go into the $_GET array. Data from HTML forms with method="post" go into the $_POST array. Both arrays are global and can be used anywhere in the requested page. 39

40 $_POST $_POST is an associative array (key and value pairs) The name attribute of form input becomes key in the array <form method="post" action="test.php"> <input type="text" name= firstname" /> <input type="password" name="pass" /> </form> If in the above form the user fills "John" and "mypass test.php will start with built-in array $_POST": $_POST[ firstname"] will be "John" $_POST['pass'] will be "mypass" 40

41 $_GET $_GET is also associative array If we open the URL: The test2.php script will start with built-in array $_GET $_GET['page'] will be 1 $_GET['user'] will be "john" 41

42 $_POST Versus $_GET $_GET passes the parameters trough the URL Allows user to send link or bookmark the page as it is. Parameters are visible in the URL; security concerns. URL is limited to 255 symbols. $_POST passes the parameters trough the request body More secure; parameters are not visible in the URL. Prevent bookmarking; user cannot open the page without first filling the post data in the form. Unlimited size of data. 42

43 Exercise #2 Ex1.html Thank_You.php Thank you Test Example! We received your information. 43

44 PHP Fundamentals PHP Hello World Example PHP Variables Variable Types Working with User Input Variable Operators Conditional Statements 44

45 Variable Operators Standard Arithmetic operators +, -, *, / and % (modulus the remainder of division of one number by another, e.g, 5 % 2 = 1 and 9 % 3 = 0 ) String concatenation with a period (.) $car = Hello. World! ; echo $car; output Hello World! comparison operators Equal == (double equal sign is a comparison operator) Using only one equal sign will initialize/overwrite the value of variables (the assignment operator). Not Equal!= Less than < greater than > Less than or equal <= greater than or equal >= 45

46 Combined Operators $a = 3;//Assignment Initializes/overwrites $a to 3 $a += 5; // Combined Assignment sets $a to 8 $a = $a +5 $a ++; // Increment Operator sets $a to 9 $a = $a +1 $a += 1 $a --; // Decrement Operator sets $a back to 8 $a = $a - 1 $a -= 1 $a == 5; // Comparison operator compares the value of $a to 5, produces false. Combined operator for strings $b = "Hello "; $b.= "There!"; // sets $b to "Hello There!"; 46

47 Strict Comparison ===,!== operators for strict comparison different from ==,!= $a="10";$b=10;$a==$b will produce true. $a="10";$b=10;$a===$b will produce false. Strict comparison: $a === $b : TRUE if $a is equal to $b, and they are of the same type. 47

48 PHP Fundamentals PHP Hello World Example PHP Variables Variable Types Working with User Input Variable Operators Conditional Statements 48

49 Conditional Statements Decision making or flow control is the process of determining the order in which statements execute in a program The special types of PHP statements used for making decisions are called decision-making statements or conditional statements. 49

50 Conditional Statements Decision making involves evaluating Boolean expressions (true / false) Initialize $cat_is_hungry = false; If($cat_is_hungry == true) { /* feed cat */ } If($cat_is_hungry) { /* feed cat */ } AND and OR for combinations if($cat_is_hungry AND $havefood) {/* feed cat*/} 50

51 Conditional Statements - if if statement allows code to be executed only if certain condition is met Boolean Don't expression forget the brackets! $a = 5; $b = 7; if ($a > $b) echo "A is greater than B"; if ($a % 2) { echo "A is odd"; $b = $a % 2; echo "A%2 is :".$b; } If ($a % 2) is true (i.e., = 1), this entire code block will be executed. Code blocks must start and end with opening and closing braches { } Can we write this code block as one statement? if ($b = $a%2) echo "A is odd - A%2 is :".$b; 51

52 If - else if-else statement allows you to execute one code if condition is met or another if not. An else clause executes when the condition in an if...else statement evaluates to FALSE $a = 5; $b = 7; if ($a > $b) echo "A is greater than B"; else echo "B is greater or equal to A"; 52

53 if - elseif if elseif is an extension to the ifelse statement Allows you to add conditions for the else body if ($a > $b) echo "A is greater than B"; elseif ($a == $b) echo "A is equal to B"; else echo "B is greater than A"; You can have multiple elseif statements 53

54 Nested if When one decision-making statement is contained within another decision-making statement, they are referred to as nested decision-making structures if ($SalesTotal >= 50) if ($SalesTotal <= 100) if ($SalesTotal >= 50 && $SalesTotal <= 100) echo " <p>the sales total is between 50 and 100, inclusive.</p> "; 54

55 A % B 65-79% C 50-64% F 0-49% if ($mark>= 80) echo "A"; if ($mark >= 65) echo B"; if ($mark >= 50) echo C"; else echo F"; What will happen when $mark=85 $mark=75 if ($mark >= 80 && $mark < 100) echo "A"; if ($mark >= 65 && $mark < 80) echo B"; if ($mark >= 50 && $mark < 65) echo C"; else echo F"; if ($mark >= 80) echo "A"; elseif ($mark >= 65) echo B"; elseif ($mark >= 50) echo C"; else echo F"; 55

56 Exercise #3 Ex1_c.html Thank_You.php 56

57 Important Links CISC:492 Learning without feedback is like learning archery in a darkened room. (Cross, 1996) Feedback Form Slides are adapted from:

58 58

PHP Tutorial From beginner to master

PHP Tutorial From beginner to master PHP Tutorial From beginner to master PHP is a powerful tool for making dynamic and interactive Web pages. PHP is the widely-used, free, and efficient alternative to competitors such as Microsoft's ASP.

More information

JavaScript: Introduction to Scripting. 2008 Pearson Education, Inc. All rights reserved.

JavaScript: Introduction to Scripting. 2008 Pearson Education, Inc. All rights reserved. 1 6 JavaScript: Introduction to Scripting 2 Comment is free, but facts are sacred. C. P. Scott The creditor hath a better memory than the debtor. James Howell When faced with a decision, I always ask,

More information

Pemrograman Web. 1. Pengenalan Web Server. M. Udin Harun Al Rasyid, S.Kom, Ph.D http://lecturer.eepis-its.edu/~udinharun udinharun@eepis-its.

Pemrograman Web. 1. Pengenalan Web Server. M. Udin Harun Al Rasyid, S.Kom, Ph.D http://lecturer.eepis-its.edu/~udinharun udinharun@eepis-its. Pemrograman Web 1. Pengenalan Web Server M. Udin Harun Al Rasyid, S.Kom, Ph.D http://lecturer.eepis-its.edu/~udinharun udinharun@eepis-its.edu Table of Contents World Wide Web Web Page Web Server Internet

More information

Web Programming with PHP 5. The right tool for the right job.

Web Programming with PHP 5. The right tool for the right job. Web Programming with PHP 5 The right tool for the right job. PHP as an Acronym PHP PHP: Hypertext Preprocessor This is called a Recursive Acronym GNU? GNU s Not Unix! CYGNUS? CYGNUS is Your GNU Support

More information

Real SQL Programming 1

Real SQL Programming 1 Real 1 We have seen only how SQL is used at the generic query interface an environment where we sit at a terminal and ask queries of a database. Reality is almost always different: conventional programs

More information

«W3Schools Home Next Chapter» JavaScript is THE scripting language of the Web.

«W3Schools Home Next Chapter» JavaScript is THE scripting language of the Web. JS Basic JS HOME JS Introduction JS How To JS Where To JS Statements JS Comments JS Variables JS Operators JS Comparisons JS If...Else JS Switch JS Popup Boxes JS Functions JS For Loop JS While Loop JS

More information

TCP/IP Networking, Part 2: Web-Based Control

TCP/IP Networking, Part 2: Web-Based Control TCP/IP Networking, Part 2: Web-Based Control Microchip TCP/IP Stack HTTP2 Module 2007 Microchip Technology Incorporated. All Rights Reserved. Building Embedded Web Applications Slide 1 Welcome to the next

More information

Working with forms in PHP

Working with forms in PHP 2002-6-29 Synopsis In this tutorial, you will learn how to use forms with PHP. Page 1 Forms and PHP One of the most popular ways to make a web site interactive is the use of forms. With forms you can have

More information

Installing Drupal 8 on Windows 7 with XAMPP. I am trying to install Drupal 8 on my Windows machine as a development system.

Installing Drupal 8 on Windows 7 with XAMPP. I am trying to install Drupal 8 on my Windows machine as a development system. Installing Drupal 8 on Windows 7 with XAMPP I am trying to install Drupal 8 on my Windows machine as a development system. From reading up the documentation on the Drupal Community Documentation, I learnt

More information

Internet Technologies

Internet Technologies QAFQAZ UNIVERSITY Computer Engineering Department Internet Technologies HTML Forms Dr. Abzetdin ADAMOV Chair of Computer Engineering Department aadamov@qu.edu.az http://ce.qu.edu.az/~aadamov What are forms?

More information

LAB MANUAL CS-322364(22): Web Technology

LAB MANUAL CS-322364(22): Web Technology RUNGTA COLLEGE OF ENGINEERING & TECHNOLOGY (Approved by AICTE, New Delhi & Affiliated to CSVTU, Bhilai) Kohka Kurud Road Bhilai [C.G.] LAB MANUAL CS-322364(22): Web Technology Department of COMPUTER SCIENCE

More information

HTML Basics(w3schools.com, 2013)

HTML Basics(w3schools.com, 2013) HTML Basics(w3schools.com, 2013) What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language. HTML is a markup language A markup language is a set of markup tags.

More information

Perl in a nutshell. First CGI Script and Perl. Creating a Link to a Script. print Function. Parsing Data 4/27/2009. First CGI Script and Perl

Perl in a nutshell. First CGI Script and Perl. Creating a Link to a Script. print Function. Parsing Data 4/27/2009. First CGI Script and Perl First CGI Script and Perl Perl in a nutshell Prof. Rasley shebang line tells the operating system where the Perl interpreter is located necessary on UNIX comment line ignored by the Perl interpreter End

More information

INSTALLING, CONFIGURING, AND DEVELOPING WITH XAMPP

INSTALLING, CONFIGURING, AND DEVELOPING WITH XAMPP INSTALLING, CONFIGURING, AND DEVELOPING WITH XAMPP by Dalibor D. Dvorski, March 2007 Skills Canada Ontario DISCLAIMER: A lot of care has been taken in the accuracy of information provided in this article,

More information

Publish Joomla! Article

Publish Joomla! Article Enterprise Architect User Guide Series Publish Joomla! Article Author: Sparx Systems Date: 15/07/2016 Version: 1.0 CREATED WITH Table of Contents Publish Joomla! Article 3 Install Joomla! Locally 4 Set

More information

PHP+MYSQL, EASYPHP INSTALLATION GUIDE

PHP+MYSQL, EASYPHP INSTALLATION GUIDE PHP+MYSQL, EASYPHP INSTALLATION GUIDE EasyPhp is a tool to install and configure an Apache server along with a database manager, MySQL. Download the latest version from http://www.easyphp.org/ as seen

More information

Livezilla How to Install on Shared Hosting http://www.jonathanmanning.com By: Jon Manning

Livezilla How to Install on Shared Hosting http://www.jonathanmanning.com By: Jon Manning Livezilla How to Install on Shared Hosting By: Jon Manning This is an easy to follow tutorial on how to install Livezilla 3.2.0.2 live chat program on a linux shared hosting server using cpanel, linux

More information

Configuring iplanet 6.0 Web Server For SSL and non-ssl Redirect

Configuring iplanet 6.0 Web Server For SSL and non-ssl Redirect Introduction Configuring iplanet 6.0 Web Server For SSL and non-ssl Redirect This document describes the process for configuring an iplanet web server for the following situation: Require that clients

More information

INTRODUCTION TO WEB TECHNOLOGY

INTRODUCTION TO WEB TECHNOLOGY UNIT-I Introduction to Web Technologies: Introduction to web servers like Apache1.1, IIS, XAMPP (Bundle Server), WAMP Server(Bundle Server), handling HTTP Request and Response, installation of above servers

More information

JAVASCRIPT AND COOKIES

JAVASCRIPT AND COOKIES JAVASCRIPT AND COOKIES http://www.tutorialspoint.com/javascript/javascript_cookies.htm Copyright tutorialspoint.com What are Cookies? Web Browsers and Servers use HTTP protocol to communicate and HTTP

More information

MOODLE Installation on Windows Platform

MOODLE Installation on Windows Platform Windows Installation using XAMPP XAMPP is a fully functional web server package. It is built to test web based programs on a personal computer. It is not meant for online access via the web on a production

More information

Fachgebiet Technische Informatik, Joachim Zumbrägel

Fachgebiet Technische Informatik, Joachim Zumbrägel Computer Network Lab 2015 Fachgebiet Technische Informatik, Joachim Zumbrägel Overview Internet Internet Protocols Fundamentals about HTTP Communication HTTP-Server, mode of operation Static/Dynamic Webpages

More information

Introduction to Server-Side Programming. Charles Liu

Introduction to Server-Side Programming. Charles Liu Introduction to Server-Side Programming Charles Liu Overview 1. Basics of HTTP 2. PHP syntax 3. Server-side programming 4. Connecting to MySQL Request to a Static Site Server: 1. Homepage lookup 2. Send

More information

SQL Injection Attack Lab Using Collabtive

SQL Injection Attack Lab Using Collabtive Laboratory for Computer Security Education 1 SQL Injection Attack Lab Using Collabtive (Web Application: Collabtive) Copyright c 2006-2011 Wenliang Du, Syracuse University. The development of this document

More information

Introduction to Java Applications. 2005 Pearson Education, Inc. All rights reserved.

Introduction to Java Applications. 2005 Pearson Education, Inc. All rights reserved. 1 2 Introduction to Java Applications 2.2 First Program in Java: Printing a Line of Text 2 Application Executes when you use the java command to launch the Java Virtual Machine (JVM) Sample program Displays

More information

Now that we have discussed some PHP background

Now that we have discussed some PHP background WWLash02 6/14/02 3:20 PM Page 18 CHAPTER TWO USING VARIABLES Now that we have discussed some PHP background information and learned how to create and publish basic PHP scripts, let s explore how to use

More information

Setting Up a Development Server

Setting Up a Development Server 2 Setting Up a Development Server If you wish to develop Internet applications but don t have your own development server, you will have to upload every modification you make to a server somewhere else

More information

JavaScript Introduction

JavaScript Introduction JavaScript Introduction JavaScript is the world's most popular programming language. It is the language for HTML, for the web, for servers, PCs, laptops, tablets, phones, and more. JavaScript is a Scripting

More information

Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence

Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence Web Development Owen Sacco ICS2205/ICS2230 Web Intelligence Introduction Client-Side scripting involves using programming technologies to build web pages and applications that are run on the client (i.e.

More information

Government Girls Polytechnic, Bilaspur

Government Girls Polytechnic, Bilaspur Government Girls Polytechnic, Bilaspur Name of the Lab: Internet & Web Technology Lab Title of the Practical : Dynamic Web Page Design Lab Class: CSE 6 th Semester Teachers Assessment:20 End Semester Examination:50

More information

Introduction to Java

Introduction to Java Introduction to Java The HelloWorld program Primitive data types Assignment and arithmetic operations User input Conditional statements Looping Arrays CSA0011 Matthew Xuereb 2008 1 Java Overview A high

More information

Novell Identity Manager

Novell Identity Manager AUTHORIZED DOCUMENTATION Manual Task Service Driver Implementation Guide Novell Identity Manager 4.0.1 April 15, 2011 www.novell.com Legal Notices Novell, Inc. makes no representations or warranties with

More information

INFORMATION BROCHURE Certificate Course in Web Design Using PHP/MySQL

INFORMATION BROCHURE Certificate Course in Web Design Using PHP/MySQL INFORMATION BROCHURE OF Certificate Course in Web Design Using PHP/MySQL National Institute of Electronics & Information Technology (An Autonomous Scientific Society of Department of Information Technology,

More information

Web development... the server side (of the force)

Web development... the server side (of the force) Web development... the server side (of the force) Fabien POULARD Document under license Creative Commons Attribution Share Alike 2.5 http://www.creativecommons.org/learnmore Web development... the server

More information

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

Forms, CGI Objectives. HTML forms. Form example. Form example... 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 of dynamic Web content

More information

How to Create a Dynamic Webpage

How to Create a Dynamic Webpage Intro to Dynamic Web Development ACM Webmonkeys @ UIUC, 2010 Static vs Dynamic "Static" is an adjective meaning "does not change". In the context of web programming, it can be used several different ways,

More information

Name: Class: Date: 9. The compiler ignores all comments they are there strictly for the convenience of anyone reading the program.

Name: Class: Date: 9. The compiler ignores all comments they are there strictly for the convenience of anyone reading the program. Name: Class: Date: Exam #1 - Prep True/False Indicate whether the statement is true or false. 1. Programming is the process of writing a computer program in a language that the computer can respond to

More information

PHP Authentication Schemes

PHP Authentication Schemes 7 PHP Authentication Schemes IN THIS CHAPTER Overview Generating Passwords Authenticating User Against Text Files Authenticating Users by IP Address Authenticating Users Using HTTP Authentication Authenticating

More information

Chapter One Introduction to Programming

Chapter One Introduction to Programming Chapter One Introduction to Programming 1-1 Algorithm and Flowchart Algorithm is a step-by-step procedure for calculation. More precisely, algorithm is an effective method expressed as a finite list of

More information

TIP: To access the WinRunner help system at any time, press the F1 key.

TIP: To access the WinRunner help system at any time, press the F1 key. CHAPTER 11 TEST SCRIPT LANGUAGE We will now look at the TSL language. You have already been exposed to this language at various points of this book. All the recorded scripts that WinRunner creates when

More information

Exercise 1: Python Language Basics

Exercise 1: Python Language Basics Exercise 1: Python Language Basics In this exercise we will cover the basic principles of the Python language. All languages have a standard set of functionality including the ability to comment code,

More information

HOW TO SETUP AN APACHE WEB SERVER AND INTEGRATE COLDFUSION

HOW TO SETUP AN APACHE WEB SERVER AND INTEGRATE COLDFUSION HOW TO SETUP AN APACHE WEB SERVER AND INTEGRATE COLDFUSION Draft version 1.0 July 15 th 2010 Software XAMPP is an open source package designed to take almost all the work out of setting up and integrating

More information

Chapter 22 How to send email and access other web sites

Chapter 22 How to send email and access other web sites Chapter 22 How to send email and access other web sites Murach's PHP and MySQL, C22 2010, Mike Murach & Associates, Inc. Slide 1 Objectives Applied 1. Install and use the PEAR Mail package to send email

More information

Application note: SQL@CHIP Connecting the IPC@CHIP to a Database

Application note: SQL@CHIP Connecting the IPC@CHIP to a Database Application note: SQL@CHIP Connecting the IPC@CHIP to a Database 1. Introduction This application note describes how to connect an IPC@CHIP to a database and exchange data between those. As there are no

More information

JavaScript: Control Statements I

JavaScript: Control Statements I 1 7 JavaScript: Control Statements I 7.1 Introduction 2 The techniques you will learn here are applicable to most high-level languages, including JavaScript 1 7.2 Algorithms 3 Any computable problem can

More information

Web Server using Apache. Heng Sovannarith heng_sovannarith@yahoo.com

Web Server using Apache. Heng Sovannarith heng_sovannarith@yahoo.com Web Server using Apache Heng Sovannarith heng_sovannarith@yahoo.com Introduction The term web server can refer to either the hardware (the computer) or the software (the computer application) that helps

More information

PHP Form Handling. Prof. Jim Whitehead CMPS 183 Spring 2006 May 3, 2006

PHP Form Handling. Prof. Jim Whitehead CMPS 183 Spring 2006 May 3, 2006 PHP Form Handling Prof. Jim Whitehead CMPS 183 Spring 2006 May 3, 2006 Importance A web application receives input from the user via form input Handling form input is the cornerstone of a successful web

More information

Installation Instructions

Installation Instructions Installation Instructions 25 February 2014 SIAM AST Installation Instructions 2 Table of Contents Server Software Requirements... 3 Summary of the Installation Steps... 3 Application Access Levels... 3

More information

Motivation retaining redisplaying

Motivation retaining redisplaying Motivation When interacting with the user, we need to ensure that the data entered is valid. If an erroneous data is entered in the form, this should be detected and the form should be redisplayed to the

More information

CTIS 256 Web Technologies II. Week # 1 Serkan GENÇ

CTIS 256 Web Technologies II. Week # 1 Serkan GENÇ CTIS 256 Web Technologies II Week # 1 Serkan GENÇ Introduction Aim: to be able to develop web-based applications using PHP (programming language) and mysql(dbms). Internet is a huge network structure connecting

More information

CSCI110: Examination information.

CSCI110: Examination information. CSCI110: Examination information. The exam for CSCI110 will consist of short answer questions. Most of them will require a couple of sentences of explanation of a concept covered in lectures or practical

More information

Chapter 2: Elements of Java

Chapter 2: Elements of Java Chapter 2: Elements of Java Basic components of a Java program Primitive data types Arithmetic expressions Type casting. The String type (introduction) Basic I/O statements Importing packages. 1 Introduction

More information

Visual Logic Instructions and Assignments

Visual Logic Instructions and Assignments Visual Logic Instructions and Assignments Visual Logic can be installed from the CD that accompanies our textbook. It is a nifty tool for creating program flowcharts, but that is only half of the story.

More information

JavaScript and Dreamweaver Examples

JavaScript and Dreamweaver Examples JavaScript and Dreamweaver Examples CSC 103 October 15, 2007 Overview The World is Flat discussion JavaScript Examples Using Dreamweaver HTML in Dreamweaver JavaScript Homework 3 (due Friday) 1 JavaScript

More information

Getting Started with Dynamic Web Sites

Getting Started with Dynamic Web Sites PHP Tutorial 1 Getting Started with Dynamic Web Sites Setting Up Your Computer To follow this tutorial, you ll need to have PHP, MySQL and a Web server up and running on your computer. This will be your

More information

Multimedia im Netz Online Multimedia Winter semester 2015/16. Tutorial 02 Minor Subject

Multimedia im Netz Online Multimedia Winter semester 2015/16. Tutorial 02 Minor Subject Multimedia im Netz Online Multimedia Winter semester 2015/16 Tutorial 02 Minor Subject Ludwig- Maximilians- Universität München Online Multimedia WS 2015/16 - Tutorial 02 for minor subject students 1 Today

More information

LabVIEW Internet Toolkit User Guide

LabVIEW Internet Toolkit User Guide LabVIEW Internet Toolkit User Guide Version 6.0 Contents The LabVIEW Internet Toolkit provides you with the ability to incorporate Internet capabilities into VIs. You can use LabVIEW to work with XML documents,

More information

Installing and using XAMPP with NetBeans PHP

Installing and using XAMPP with NetBeans PHP Installing and using XAMPP with NetBeans PHP About This document explains how to configure the XAMPP package with NetBeans for PHP programming and debugging (specifically for students using a Windows PC).

More information

ISI ACADEMY Web applications Programming Diploma using PHP& MySQL

ISI ACADEMY Web applications Programming Diploma using PHP& MySQL ISI ACADEMY for PHP& MySQL web applications Programming ISI ACADEMY Web applications Programming Diploma using PHP& MySQL HTML - CSS - JavaScript PHP - MYSQL What You'll Learn Be able to write, deploy,

More information

PHP ON A FAST TRACK INTRODUCTION: ROADMAP BY JAROSLAW FRANCIK. Companion web site: http:// php.francik.name

PHP ON A FAST TRACK INTRODUCTION: ROADMAP BY JAROSLAW FRANCIK. Companion web site: http:// php.francik.name PHP ON A FAST TRACK BY JAROSLAW FRANCIK Companion web site: http:// php.francik.name Writing web based, database connected applications in PHP is not difficult, however many people get stuck on just the

More information

Webair CDN Secure URLs

Webair CDN Secure URLs Webair CDN Secure URLs Webair provides a URL signature mechanism for securing access to your files. Access can be restricted on the basis of an expiration date (to implement short-lived URLs) and/or on

More information

Technical University of Sofia Faculty of Computer Systems and Control. Web Programming. Lecture 4 JavaScript

Technical University of Sofia Faculty of Computer Systems and Control. Web Programming. Lecture 4 JavaScript Technical University of Sofia Faculty of Computer Systems and Control Web Programming Lecture 4 JavaScript JavaScript basics JavaScript is scripting language for Web. JavaScript is used in billions of

More information

Advanced Web Technology 10) XSS, CSRF and SQL Injection 2

Advanced Web Technology 10) XSS, CSRF and SQL Injection 2 Berner Fachhochschule, Technik und Informatik Advanced Web Technology 10) XSS, CSRF and SQL Injection Dr. E. Benoist Fall Semester 2010/2011 Table of Contents Cross Site Request Forgery - CSRF Presentation

More information

Installing Drupal on Your Local Computer

Installing Drupal on Your Local Computer Installing Drupal on Your Local Computer This tutorial will help you install Drupal on your own home computer and allow you to test and experiment building a Web site using this open source software. This

More information

Using IIS and UltraDev Locally page 1

Using IIS and UltraDev Locally page 1 Using IIS and UltraDev Locally page 1 IIS Web Server Installation IIS Web Server is the web server provided by Microsoft for platforms running the various versions of the Windows Operating system. It is

More information

HTML Tables. IT 3203 Introduction to Web Development

HTML Tables. IT 3203 Introduction to Web Development IT 3203 Introduction to Web Development Tables and Forms September 3 HTML Tables Tables are your friend: Data in rows and columns Positioning of information (But you should use style sheets for this) Slicing

More information

2. Follow the installation directions and install the server on ccc

2. Follow the installation directions and install the server on ccc Installing a Web Server 1. Install a sample web server, which supports Servlets/JSPs. A light weight web server is Apache Tomcat server. You can get the server from http://tomcat.apache.org/ 2. Follow

More information

GLEN RIDGE PUBLIC SCHOOLS MATHEMATICS MISSION STATEMENT AND GOALS

GLEN RIDGE PUBLIC SCHOOLS MATHEMATICS MISSION STATEMENT AND GOALS Course Title: Advanced Web Design Subject: Mathematics / Computer Science Grade Level: 9-12 Duration: 0.5 year Number of Credits: 2.5 Prerequisite: Grade of A or higher in Web Design Elective or Required:

More information

Web Programming Step by Step

Web Programming Step by Step Web Programming Step by Step Lecture 13 Introduction to JavaScript Reading: 7.1-7.4 Except where otherwise noted, the contents of this presentation are Copyright 2009 Marty Stepp and Jessica Miller. Client-side

More information

Short notes on webpage programming languages

Short notes on webpage programming languages Short notes on webpage programming languages What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is a markup language A markup language is a set of

More information

WIRIS quizzes web services Getting started with PHP and Java

WIRIS quizzes web services Getting started with PHP and Java WIRIS quizzes web services Getting started with PHP and Java Document Release: 1.3 2011 march, Maths for More www.wiris.com Summary This document provides client examples for PHP and Java. Contents WIRIS

More information

HTML Form Widgets. Review: HTML Forms. Review: CGI Programs

HTML Form Widgets. Review: HTML Forms. Review: CGI Programs HTML Form Widgets Review: HTML Forms HTML forms are used to create web pages that accept user input Forms allow the user to communicate information back to the web server Forms allow web servers to generate

More information

Lesson 7 - Website Administration

Lesson 7 - Website Administration Lesson 7 - Website Administration If you are hired as a web designer, your client will most likely expect you do more than just create their website. They will expect you to also know how to get their

More information

07 Forms. 1 About Forms. 2 The FORM Tag. 1.1 Form Handlers

07 Forms. 1 About Forms. 2 The FORM Tag. 1.1 Form Handlers 1 About Forms For a website to be successful, it is important to be able to get feedback from visitors to your site. This could be a request for information, general comments on your site or even a product

More information

Script Handbook for Interactive Scientific Website Building

Script Handbook for Interactive Scientific Website Building Script Handbook for Interactive Scientific Website Building Version: 173205 Released: March 25, 2014 Chung-Lin Shan Contents 1 Basic Structures 1 11 Preparation 2 12 form 4 13 switch for the further step

More information

1. Building Testing Environment

1. Building Testing Environment The Practice of Web Application Penetration Testing 1. Building Testing Environment Intrusion of websites is illegal in many countries, so you cannot take other s web sites as your testing target. First,

More information

TIMETABLE ADMINISTRATOR S MANUAL

TIMETABLE ADMINISTRATOR S MANUAL 2015 TIMETABLE ADMINISTRATOR S MANUAL Software Version 5.0 BY GEOFFPARTRIDGE.NET TABLE OF CONTENTS TOPIC PAGE 1) INTRODUCTION 1 2) TIMETABLE SPECIFICATIONS 1 3) SOFTWARE REQUIRED 1 a. Intranet Server (XAMPP

More information

PHP. Introduction. Significance. Discussion I. What Is PHP?

PHP. Introduction. Significance. Discussion I. What Is PHP? PHP Introduction Nowadays not only e-commerce but also various kinds of industries and educational institutions seem to seek to build dynamic websites that can handle database and can be customized for

More information

All the materials and/or graphics included in the IceThemetheme folders MUST be used ONLY with It TheCityTheme from IceTheme.com.

All the materials and/or graphics included in the IceThemetheme folders MUST be used ONLY with It TheCityTheme from IceTheme.com. Terms of Use: All the materials and/or graphics included in the IceThemetheme folders MUST be used ONLY with It TheCityTheme from IceTheme.com. Table of Contents 1- Introduction 3 2- Installing the theme

More information

Building Website with Drupal 7

Building Website with Drupal 7 Building Website with Drupal 7 Building Web based Application Quick and Easy Hari Tjahjo This book is for sale at http://leanpub.com/book1-en This version was published on 2014-08-25 This is a Leanpub

More information

Perl/CGI. CS 299 Web Programming and Design

Perl/CGI. CS 299 Web Programming and Design Perl/CGI CGI Common: Gateway: Programming in Perl Interface: interacts with many different OSs CGI: server programsprovides uses a well-defined users with a method way to to gain interact access with to

More information

2004-2012 Simbirsk Technologies Ltd.

2004-2012 Simbirsk Technologies Ltd. Installation Guide 2 CS-Cart Installation Guide 1. System Requirements Web server environment CS-Cart is developed to meet most server configurations ranging from shared hosting accounts to dedicated servers.

More information

Online shopping store

Online shopping store Online shopping store 1. Research projects: A physical shop can only serves the people locally. An online shopping store can resolve the geometrical boundary faced by the physical shop. It has other advantages,

More information

Handout 1. Introduction to Java programming language. Java primitive types and operations. Reading keyboard Input using class Scanner.

Handout 1. Introduction to Java programming language. Java primitive types and operations. Reading keyboard Input using class Scanner. Handout 1 CS603 Object-Oriented Programming Fall 15 Page 1 of 11 Handout 1 Introduction to Java programming language. Java primitive types and operations. Reading keyboard Input using class Scanner. Java

More information

PHP Debugging. Draft: March 19, 2013 2013 Christopher Vickery

PHP Debugging. Draft: March 19, 2013 2013 Christopher Vickery PHP Debugging Draft: March 19, 2013 2013 Christopher Vickery Introduction Debugging is the art of locating errors in your code. There are three types of errors to deal with: 1. Syntax errors: When code

More information

Cover Page. Dynamic Server Pages Guide 10g Release 3 (10.1.3.3.0) March 2007

Cover Page. Dynamic Server Pages Guide 10g Release 3 (10.1.3.3.0) March 2007 Cover Page Dynamic Server Pages Guide 10g Release 3 (10.1.3.3.0) March 2007 Dynamic Server Pages Guide, 10g Release 3 (10.1.3.3.0) Copyright 2007, Oracle. All rights reserved. Contributing Authors: Sandra

More information

Designing for Dynamic Content

Designing for Dynamic Content Designing for Dynamic Content Course Code (WEB1005M) James Todd Web Design BA (Hons) Summary This report will give a step-by-step account of the relevant processes that have been adopted during the construction

More information

Variables, Constants, and Data Types

Variables, Constants, and Data Types Variables, Constants, and Data Types Primitive Data Types Variables, Initialization, and Assignment Constants Characters Strings Reading for this class: L&L, 2.1-2.3, App C 1 Primitive Data There are eight

More information

Lab - Observing DNS Resolution

Lab - Observing DNS Resolution Objectives Part 1: Observe the DNS Conversion of a URL to an IP Address Part 2: Observe DNS Lookup Using the nslookup Command on a Web Site Part 3: Observe DNS Lookup Using the nslookup Command on Mail

More information

CEFNS Web Hosting a Guide for CS212

CEFNS Web Hosting a Guide for CS212 CEFNS Web Hosting a Guide for CS212 INTRODUCTION: TOOLS: In CS212, you will be learning the basics of web development. Therefore, you want to keep your tools to a minimum so that you understand how things

More information

Pemrograman Dasar. Basic Elements Of Java

Pemrograman Dasar. Basic Elements Of Java Pemrograman Dasar Basic Elements Of Java Compiling and Running a Java Application 2 Portable Java Application 3 Java Platform Platform: hardware or software environment in which a program runs. Oracle

More information

UQC103S1 UFCE47-20-1. Systems Development. uqc103s/ufce47-20-1 PHP-mySQL 1

UQC103S1 UFCE47-20-1. Systems Development. uqc103s/ufce47-20-1 PHP-mySQL 1 UQC103S1 UFCE47-20-1 Systems Development uqc103s/ufce47-20-1 PHP-mySQL 1 Who? Email: uqc103s1@uwe.ac.uk Web Site www.cems.uwe.ac.uk/~jedawson www.cems.uwe.ac.uk/~jtwebb/uqc103s1/ uqc103s/ufce47-20-1 PHP-mySQL

More information

This installation guide will help you install your chosen IceTheme Template with the Cloner Installer package.

This installation guide will help you install your chosen IceTheme Template with the Cloner Installer package. Introduction This installation guide will help you install your chosen IceTheme Template with the Cloner Installer package. There are 2 ways of installing the theme: 1- Using the Clone Installer Package

More information

Bachelors of Computer Application Programming Principle & Algorithm (BCA-S102T)

Bachelors of Computer Application Programming Principle & Algorithm (BCA-S102T) Unit- I Introduction to c Language: C is a general-purpose computer programming language developed between 1969 and 1973 by Dennis Ritchie at the Bell Telephone Laboratories for use with the Unix operating

More information

Chapter 2: Interactive Web Applications

Chapter 2: Interactive Web Applications Chapter 2: Interactive Web Applications 2.1 Interactivity and Multimedia in the WWW architecture 2.2 Interactive Client-Side Scripting for Multimedia (Example HTML5/JavaScript) 2.3 Interactive Server-Side

More information

How to Make a Working Contact Form for your Website in Dreamweaver CS3

How to Make a Working Contact Form for your Website in Dreamweaver CS3 How to Make a Working Contact Form for your Website in Dreamweaver CS3 Killer Contact Forms Dreamweaver Spot With this E-Book you will be armed with everything you need to get a Contact Form up and running

More information

Exercise 4 Learning Python language fundamentals

Exercise 4 Learning Python language fundamentals Exercise 4 Learning Python language fundamentals Work with numbers Python can be used as a powerful calculator. Practicing math calculations in Python will help you not only perform these tasks, but also

More information

Configure Wildcard-Based Subdomains

Configure Wildcard-Based Subdomains Configure Wildcard-Based Subdomains Apache s virtual hosting feature makes it easy to host multiple websites or web applications on the same server, each accessible with a different domain name. However,

More information

Big Data and Analytics by Seema Acharya and Subhashini Chellappan Copyright 2015, WILEY INDIA PVT. LTD. Introduction to Pig

Big Data and Analytics by Seema Acharya and Subhashini Chellappan Copyright 2015, WILEY INDIA PVT. LTD. Introduction to Pig Introduction to Pig Agenda What is Pig? Key Features of Pig The Anatomy of Pig Pig on Hadoop Pig Philosophy Pig Latin Overview Pig Latin Statements Pig Latin: Identifiers Pig Latin: Comments Data Types

More information