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

Size: px
Start display at page:

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

Transcription

1 n A m I B I A U n I V ER SI TY OF SCIEnCE AnD TECHnOLOGY FACULTY OF COMPUTING AND INFORMATICS DEPARTMENT OF INFORMATICS QUALIFICATION: Bachelor of lnformatics and BIT : Business Computing QUALIFICATION CODE: 07BAIF and SOBSBC LEVEL: 7 COURSE: Enterprise Web Application Development DATE: November 2016 COURSE CODE: EWD621S SESSION: DURATION: 3 Hours MARKS: 100 FIRST OPPORTUNITY EXAMINATION PAPER EXAMINER: Dr Nobert Jere and Ms Katazo Amunkete MODERATOR: Mr Kandetu Tengovandu THIS EXAMINATION PAPER CONSISTS OF 8 PAGES (INCLUDING THIS FRONT PAGE) INSTRUCTIONS 1. Answer all questions. 2. When writing take the following into account: The style should inform than impress, it should be formal, in third person, paragraphs set out according to ideas or issues and the paragraphs flowing in a logical order. Information provided should be brief and accurate. 3. Please, ensure that your writing is legible, neat and presentable. 1

2 Section A: Question 1 [50 marks] [16 marks] a. Describe and explain two (2) Enterprise Application considerations? b. How can the understanding of the organisational structure help to develop a Web Application? c. Discuss two (2) challenges of implementing and using the various enterprise applications? d. Describe the need to understand and the role of business process in web application development. Justify your answer with specific business process examples. Question 2 [16 marks] a. You are hired as an Enterprise Web Developer and one of your tasks is to explain the technical environment that will be required? Indicate the steps you will take to set up the development environment. What will you install? Give specific technologies required from installation to the coding environment. b. Draw and explain with a clearly labeled diagram to represent the www and the client server model. In your explanation mention the technologies that run on both the client and server side. c. Before implementing an enterprise web system, it is important to have the entire stakeholders prepared. Discuss three (3) possible ways to do so. Question 3 [18 marks] a. Discuss any three (3) security threats that the enterprise developer should be aware of in proposing Enterprise Web applications. b. Identify any three (3) different ways that could be used to overcome the security issues identified in (a). 2

3 c. What are the advantages of having integrated Enterprise Web applications? Explain by giving examples and specifying technologies that are used to integrate applications. Section B: [25 marks] Question 4 Examine the PHP code, for each snapshot (Snapshot 1-4) and answer the question at the end of each snapshot. Code Snapshot 1 1. <form name="reg" action="code_exec.php" onsubmit="return validateform()" method="post"> 2. <table width="274" border="o" align="center" cellpadding="2" cellspacing="o"> 3. <tr> 4. <td colspan="2"> 5. <div align="center"> 6. <?php 7. $remarks=$_get['remarks']; 8. if ($remarks==null and $remarks=="") 9. { 10. echo 'Register Here'; 11. } 12. if ($remarks=='success') 13. { 14. echo 'Registration Success'; 15. } 16.?> 17. </div></td> 18. </tr> 19. <tr> 20. <td width="95"><div align="right">first Name:</div></td> 21. <td width="171"><input type="text" name="fname" /></td> 22. </tr> 23. <tr> 24. <td><div align="right">last Name:</div></td> 25. <td><input type="text" name="lname" /></td> 26. </tr> 27. <tr> 28. <td><div align="right">gender:</div></td> 29. <td><input type="text" name="mname" /></td> 30. </tr> 3

4 31. <tr> 32. <td><div align="right">address:</div></td> 33. <td><input type="text" name="address" /></td> 34. </tr> 35. <tr> 36. <td><div align="right">contact No.:</div></td> 37. <td><input type="text" name="contact" /></td> 38. </tr> 39. <tr> 40. <td><div align="right">picture:</div></td> 41. <td><input type="text" name="pic" /></td> 42. </tr> 43. <tr> 44. <td><div align="right">username:</div></td> 45. <td><input type="text" name="username" /></td> 46. </tr> 47. <tr> 48. <td><div align="right">password:</div></td> 49. <td><input type="text" name="password" /></td> 50. </tr> 51. <tr> 52. <td><div align="right"></div></td> 53. <td><input name="submit" type="submit" value="submit" /></td> 54. </tr> 55. </table> 56. </form> End of Snapshot 1 QUESTION FOR SNAPSHOT 1 a. Clearly draw the output form based on the code in the snapshot. [14 marks] Code Snapshot 2 1. CREATE TABLE IF NOT EXISTS 'member' ( 2. 'mem_id' int(11.) NOT NULL AUTO_INCREMENT, 3. ' username' varchar(30) NOT NUll, 4. 'password' varchar(30) NOT NUll, 5. 'fname' varchar(30) NOT NUll, 6. ' lname' varchar(30) NOT NUll, 7. 'add ress' varchar(loo) NOT NULl, 8. 'contact' varchar(30) NOT NULL, 9. 'picture' varchar( loo) NOT NULL, 4

5 10. 'gender' varchar(10) NOT NULL, 11. PRIMARY KEY ('mem_id' ) 12.) ENGINE=MyiSAM DEFAULT CHARSET=Iatin1 AUTO_INCREMENT=3 ; End of Snapshot 2 QUESTION FOR SNAPSHOT 2 b. What does this code- Snapshot 2 do? Refer to some lines. [3 marks] Code Snapshot 3 1. <?php 2. $mysql_hostname = "localhost"; 3. $mysql_user = "root"; 4. $mysql_password = '"'; 5. $mysql_database = "registration"; 6. $prefix=""; 7. $bd = mysql_connect($mysql_hostname, $mysql_user, $mysql_password) or die("could not connect database"); 8. mysql_select_db($mysql_database, $bd) or die("could not select database"); 9.?> End of Snapshot 3 QUESTION FOR SNAPSHOT 3 c. Explain the code in the snapshot. Code Snapshot 4 1. <?php 2. session_start(); 3. include('connection.php'); 4. $fname=$_post['fname']; 5. $1name=$_POST['Iname']; 6. $mname=$_post['mname']; 7. $address=$_post['address']; 8. $contact=$_post['contact']; 9. $pic=$_post['pic']; 10. $username=$_post['username']; 11. $password=$_post['password']; 5

6 12. mysql_query("insert INTO member(fname, lname, gender, address, contact, picture, username, password)values('$fname', '$1name', '$mname', '$address', '$contact', '$pie', '$username', '$password')"); 13. header("location: index.php?remarks=success"); 14. mysql_close($con); 15.?> End of Snapshot 4 QUESTION FOR SNAPSHOT 4 d. Explain the importance of line 2- session_start(); and line 14. Section C: Question 5 [25 marks] Instructions: Read the following case study and answer all the questions Database-backed library web sites: a case study of the use of PHP and MySQL at the University of Nottingham Mike Gardner and Stephen Pinfield 1 Introduction As web sites grow in complexity it is important to choose the right technology to deliver the information. Here we discuss the advantages of database-backed web sites and our model for a library web site using open source software, PHP 1 and MySQL 2. Dynamically-generated web sites are easy to manage and offer significant advantages over those built with static HTML. 1.1 Redesign of the library web site During the recent reorganisation of the University of Nottingham Library Services web site ( / the decision was made to improve the design by minimising the number of options presented to the user on the home page. As well as options to find out more about the library, many library home pages offer a number of different choices to users, such as 'subject guides', 'networked CD-ROMs' and 'online databases'. These choices are often based on the format of the resources (CD-ROMs, web sites, printed items). Monica Brinkley points out that this is "undoubtedly the least likely way the user will approach an information need, and should not be the primary route to the information they seek". 3 6

7 In an attempt to reduce the potential for user confusion, it was decided to bring these resources together under one option: 'Subject resources' (the other home page options are currently 'Online catalogue', 'Services and information', 'Opening hours', 'Manuscripts and Special Collections' and 'Contact us'). The pages in the Subject resources section of the web site offer a subject-based view of important resources, including bibliographies, databases and web gateways. Resources are listed together regardless of their format (although the format and access details of the resource are still made clear to the user for each resource). Staff and students know intuitively the subject in which they are interested and this section provides a simple gateway to the resources (as shown in figure 1). Subject res ources Subjta IIMIItcca ne~~~ &.:;~o'd~ 1C9f pno n, (().110\ts. c <o~ ;t~ ;..: 1, oc~ uuu ""'b UH,,M :. o 1 CUOalt J OIIIIIals_ J>,! ~f" T n.r-..: y l.on... d S d l Sdotroc- j Atch:t ~ :tur, :::J (ID Utdlc:inii&KnlthSeiencn j S JC rr.t~c:.is:i ul: I S ::::J (ID Figure 1: subject resources homepage 2 Technologies To deliver a database-backed web site, three main technologies are required: a web server, a database and a mechanism for these two to interact and incorporate database content in the HTML pages. We chose to run the Apache web server ( / the most popular web server on the Internet, 5 on a Unix server. For a relational database, we chose MySQL ( / which is stable, has a very fast query response time on simple tables, is reliable and ANSI SQL92 6 compliant. To glue these two together (see figure2l we chose the increasingly popular server-side HTML embedded scripting language PHP ( / PHP is now in use at over 2 million web sites, 7 including Volvo, Mitsubishi Motors, W3C and HumanitiesWeb. 8 lt is available as an Apache module, and is therefore very efficient, and works well with MySQL (as well as a variety of other databases). PHP is very easy to integrate with HTML. Blocks of PHP code can simply be inserted in a standard HTML document as required. Before the web server sends the requested file to a user's browser it executes any PHP code within the page and incorporates the relevant output. For example, the PHP code <?print "Today's date is: date("m d, Y")";?>becomes Today's date is: August 1st, One of the most useful features of PHP is the way it handles HTML forms. Any form element automatically results in a variable with the same name being created on the target page. All the elements in the form are therefore available as variables and ready to incorporate in your HTML output or include in a database query. PHP can perform mathematical calculations, manipulate 7

8 strings of data and (as in this case) query databases. lt can work with many predefined functions, including XML support, capabilities (including IMAP functions) and automatic session handling. All of these popular products are open source and available free of charge. There is also support from the user community available in a variety of ways on the Internet. For example, there are excellent tutorials on PHP and MySQL at both the DevShed and Webreview sites, and active discussion boards on PHP at the PHPBuilder and Faqts sites. The installation and setup of these products is not described here as this is done elsewhere. However, it is possible to setup a standard lntel PC as a web/database Unix server using Apache, PHP and MySQL in just a few hours. We chose to use Linux, a free version of Unix. This combination of software running on a Linux server proved to be easy to install, tightly integrated, and stable. The whole system can also be assembled for very little cost END 0 F CASE STUD V Case study questions: a. From the Introduction section, state two (2) reasons for the University of Nottingham to modify the website. [2 marks] b. What were the three (3) reasons for redesigning the website from Section 1.1? [3 marks] c. With reference to Figure 1: Subject resources homepage, give any comments to the presented interface. Indicate whether the interface is easy to navigate and justify your answer. [7 marks] d. (i) What were the specific technologies used for the library website design? (ii) Why was PHP chosen? [5 marks] (iii) Explain in your own words, the meaning of open source as used in Enterprise web application development.... End of Examination Paper.... 8

Access from the University of Nottingham repository:

Access from the University of Nottingham repository: Gardner, Mike and Pinfield, Stephen (2001) Databasebacked library web sites: a case study of the use of PHP and MySQL at the University of Nottingham. Program, 35 (1). pp. 33-42. Access from the University

More information

I'IFIITIIBIFI UNIVERSITY OF SCIEI'ICE FII'ID TECHNOLOGY DEPARTMENT OF INFORMATICS FIRST OPPORTUNITY EXAMINATION. (Including this front page)

I'IFIITIIBIFI UNIVERSITY OF SCIEI'ICE FII'ID TECHNOLOGY DEPARTMENT OF INFORMATICS FIRST OPPORTUNITY EXAMINATION. (Including this front page) Fl I'IFIITIIBIFI UNIVERSITY OF SCIEI'ICE FII'ID TECHNOLOGY Faculty of Computing and Informatics DEPARTMENT OF INFORMATICS QUALIFICATION: Bachelor of Informatics and Bachelor of IT in Business Computing

More information

COM1004 Web and Internet Technology

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

More information

Faculty of Computing and informatics

Faculty of Computing and informatics Id nhmibih UI'IIVERSITY OF SCIENCE HHD TECHNOLOGY Faculty of Computing and informatics Department of Informatics QUALIFICATION: Bachelor of Informatics, Bachelor of Computer Science, Bachelor of Geo- Information

More information

Lab 7 Introduction to MySQL

Lab 7 Introduction to MySQL Lab 7 Introduction to MySQL Objectives: During this lab session, you will - Learn how to access the MySQL Server - Get hand-on experience on data manipulation and some PHP-to-MySQL technique that is often

More information

COMP519: Web Programming Autumn 2015

COMP519: Web Programming Autumn 2015 COMP519: Web Programming Autumn 2015 In the next lectures you will learn What is SQL How to access mysql database How to create a basic mysql database How to use some basic queries How to use PHP and mysql

More information

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

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

More information

Using htmlarea & a Database to Maintain Content on a Website

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

More information

ITS331 IT Laboratory I: (Laboratory #11) Session Handling

ITS331 IT Laboratory I: (Laboratory #11) Session Handling School of Information and Computer Technology Sirindhorn International Institute of Technology Thammasat University ITS331 Information Technology Laboratory I Laboratory #11: Session Handling Creating

More information

By the end of this section of the practical, the students should be able to:

By the end of this section of the practical, the students should be able to: By the end of this section of the practical, the students should be able to: Connecting to a MySQL database in PHP with the mysql_connect() and mysql_select_db() functions Trapping and displaying database

More information

PHP: Cookies, Sessions, Databases. CS174. Chris Pollett. Sep 24, 2008.

PHP: Cookies, Sessions, Databases. CS174. Chris Pollett. Sep 24, 2008. PHP: Cookies, Sessions, Databases. CS174. Chris Pollett. Sep 24, 2008. Outline. How cookies work. Cookies in PHP. Sessions. Databases. Cookies. Sometimes it is useful to remember a client when it comes

More information

Web accessible Databases PHP

Web accessible Databases PHP Web accessible Databases PHP October 16, 2017 www.php.net Pacific University 1 HTML Primer https://www.w3schools.com/html/default.asp HOME Introduction Basic Tables Lists https://developer.mozilla.org/en-

More information

PHP Tutorial 6(a) Using PHP with MySQL

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

More information

INSTITUTE OF TECHNOLOGY AND ADVANCED LEARNING SCHOOL OF APPLIED TECHNOLOGY COURSE OUTLINE ACADEMIC YEAR 2012/2013

INSTITUTE OF TECHNOLOGY AND ADVANCED LEARNING SCHOOL OF APPLIED TECHNOLOGY COURSE OUTLINE ACADEMIC YEAR 2012/2013 INSTITUTE OF TECHNOLOGY AND ADVANCED LEARNING SCHOOL OF APPLIED TECHNOLOGY COURSE OUTLINE ACADEMIC YEAR 2012/2013 COMPUTER AND NETWORK SUPPORT TECHNICIAN COURSE NUMBER: NEST 401 COURSE NAME: INTERNET SCRIPT

More information

Developing Ajax Applications using EWD and Python. Tutorial: Part 2

Developing Ajax Applications using EWD and Python. Tutorial: Part 2 Developing Ajax Applications using EWD and Python Tutorial: Part 2 Chapter 1: A Logon Form Introduction This second part of our tutorial on developing Ajax applications using EWD and Python will carry

More information

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

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

More information

Princess Nourah bint Abdulrahman University. Computer Sciences Department

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

More information

A QUICK GUIDE TO PROGRAMMING FOR THE WEB. ssh (then type your UBIT password when prompted)

A QUICK GUIDE TO PROGRAMMING FOR THE WEB. ssh (then type your UBIT password when prompted) A QUICK GUIDE TO PROGRAMMING FOR THE WEB TO GET ACCESS TO THE SERVER: ssh Secure- Shell. A command- line program that allows you to log in to a server and access your files there as you would on your own

More information

School of Information and Computer Technology Sirindhorn International Institute of Technology Thammasat University

School of Information and Computer Technology Sirindhorn International Institute of Technology Thammasat University School of Information and Computer Technology Sirindhorn International Institute of Technology Thammasat University ITS351 Database Programming Laboratory Laboratory #9: PHP & Form Processing III Objective:

More information

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

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

More information

What is SQL? Toolkit for this guide. Learning SQL Using phpmyadmin

What is SQL? Toolkit for this guide. Learning SQL Using phpmyadmin http://www.php-editors.com/articles/sql_phpmyadmin.php 1 of 8 Members Login User Name: Article: Learning SQL using phpmyadmin Password: Remember Me? register now! Main Menu PHP Tools PHP Help Request PHP

More information

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

PHP: File upload. Unit 27 Web Server Scripting L3 Extended Diploma PHP: File upload Unit 27 Web Server Scripting L3 Extended Diploma 2016 Criteria M2 M2 Edit the contents of a text file on a web server using web server scripting Tasks We will go through a worked example

More information

PHP Introduction. Some info on MySQL which we will cover in the next workshop...

PHP Introduction. Some info on MySQL which we will cover in the next workshop... PHP and MYSQL PHP Introduction PHP is a recursive acronym for PHP: Hypertext Preprocessor -- It is a widely-used open source general-purpose serverside scripting language that is especially suited for

More information

CSC 405 Computer Security. Web Security

CSC 405 Computer Security. Web Security CSC 405 Computer Security Web Security Alexandros Kapravelos akaprav@ncsu.edu (Derived from slides by Giovanni Vigna and Adam Doupe) 1 Storing State Web applications would like to store persistent state

More information

IELM 511 Information Systems Design Labs 5 and 6. DB creation and Population

IELM 511 Information Systems Design Labs 5 and 6. DB creation and Population IELM 511 Information Systems Design Labs 5 and 6. DB creation and Population In this lab, your objective is to learn the basics of creating and managing a DB system. One way to interact with the DBMS (MySQL)

More information

Part A Short Answer (50 marks)

Part A Short Answer (50 marks) Part A Short Answer (50 marks) NOTE: Answers for Part A should be no more than 3-4 sentences long. 1. (5 marks) What is the purpose of HTML? What is the purpose of a DTD? How do HTML and DTDs relate to

More information

Create Basic Databases and Integrate with a Website Lesson 3

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

More information

Databases CSCI 201 Principles of Software Development

Databases CSCI 201 Principles of Software Development Databases CSCI 201 Principles of Software Development Jeffrey Miller, Ph.D. jeffrey.miller@usc.edu Outline Databases SQL Try It! USC CSCI 201L Databases Database systems store data and provide a means

More information

Enterprise Knowledge Platform Adding the Login Form to Any Web Page

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

More information

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

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Joomla

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Joomla About the Tutorial Joomla is an open source Content Management System (CMS), which is used to build websites and online applications. It is free and extendable which is separated into frontend templates

More information

$this->dbtype = "mysql"; // Change this if you are not running a mysql database server. Note, the publishing solution has only been tested on MySQL.

$this->dbtype = mysql; // Change this if you are not running a mysql database server. Note, the publishing solution has only been tested on MySQL. 0.1 Installation Prior to installing the KRIG publishing system you should make sure that your ISP supports MySQL (versions from 4.0 and up) and PHP (version 4.0 or later, preferably with PEAR installed.)

More information

Announcements. PS 3 is out (see the usual place on the course web) Be sure to read my notes carefully Also read. Take a break around 10:15am

Announcements. PS 3 is out (see the usual place on the course web) Be sure to read my notes carefully Also read. Take a break around 10:15am Announcements PS 3 is out (see the usual place on the course web) Be sure to read my notes carefully Also read SQL tutorial: http://www.w3schools.com/sql/default.asp Take a break around 10:15am 1 Databases

More information

JavaScript CSCI 201 Principles of Software Development

JavaScript CSCI 201 Principles of Software Development JavaScript CSCI 201 Principles of Software Development Jeffrey Miller, Ph.D. jeffrey.miller@usc.edu Outline JavaScript Program USC CSCI 201L JavaScript JavaScript is a front-end interpreted language that

More information

If Only. More SQL and PHP

If Only. More SQL and PHP If Only More SQL and PHP PHP: The if construct If only I could conditionally select PHP statements to execute. That way, I could have certain actions happen only under certain circumstances The if statement

More information

INTERNATIONAL INDIAN SCHOOL, RIYADH XI XII BOYS SECTION INFORMATICS PRACTICES WORKSHEET 15 TH CHAPTER DATABASE TRANSACTION IMPORTANT QUESTION

INTERNATIONAL INDIAN SCHOOL, RIYADH XI XII BOYS SECTION INFORMATICS PRACTICES WORKSHEET 15 TH CHAPTER DATABASE TRANSACTION IMPORTANT QUESTION INTERNATIONAL INDIAN SCHOOL, RIYADH XI XII BOYS SECTION INFORMATICS PRACTICES WORKSHEET 15 TH CHAPTER DATABASE TRANSACTION Grade- XII IMPORTANT QUESTION 1. What is the benefit of Transaction? 2. What are

More information

Locate your Advanced Tools and Applications

Locate your Advanced Tools and Applications MySQL Manager is a web based MySQL client that allows you to create and manipulate a maximum of two MySQL databases. MySQL Manager is designed for advanced users.. 1 Contents Locate your Advanced Tools

More information

Inf 202 Introduction to Data and Databases (Spring 2010)

Inf 202 Introduction to Data and Databases (Spring 2010) Inf 202 Introduction to Data and Databases (Spring 2010) Jagdish S. Gangolly Informatics CCI SUNY Albany April 22, 2010 Database Processing Applications Standard Database Processing Client/Server Environment

More information

Multimedia Systems and Technologies

Multimedia Systems and Technologies Multimedia Systems and Technologies Sample exam paper 1 Notes: The exam paper is printed double-sided on two A3 sheets The exam duration is 2 hours and 40 minutes The maximum grade achievable in the written

More information

c360 Web Connect Configuration Guide Microsoft Dynamics CRM 2011 compatible c360 Solutions, Inc. c360 Solutions

c360 Web Connect Configuration Guide Microsoft Dynamics CRM 2011 compatible c360 Solutions, Inc.   c360 Solutions c360 Web Connect Configuration Guide Microsoft Dynamics CRM 2011 compatible c360 Solutions, Inc. www.c360.com c360 Solutions Contents Overview... 3 Web Connect Configuration... 4 Implementing Web Connect...

More information

PHP and MySQL Programming

PHP and MySQL Programming PHP and MySQL Programming Course PHP - 5 Days - Instructor-led - Hands on Introduction PHP and MySQL are two of today s most popular, open-source tools for server-side web programming. In this five day,

More information

CICS 515 b Internet Programming Week 2. Mike Feeley

CICS 515 b Internet Programming Week 2. Mike Feeley CICS 515 b Internet Programming Week 2 Mike Feeley 1 Software infrastructure stuff MySQL and PHP store files in public_html run on remote.mss.icics.ubc.ca access as http://ws.mss.icics.ubc.ca/~username/...

More information

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

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

More information

Understanding Basic SQL Injection

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

More information

Database Connectivity using PHP Some Points to Remember:

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

More information

Form Processing in PHP

Form Processing in PHP Form Processing in PHP Forms Forms are special components which allow your site visitors to supply various information on the HTML page. We have previously talked about creating HTML forms. Forms typically

More information

PHP Development - Introduction

PHP Development - Introduction PHP Development - Introduction Php Hypertext Processor PHP stands for PHP: Hypertext Preprocessor PHP is a server-side scripting language, like ASP PHP scripts are executed on the server PHP supports many

More information

Princess Nourah bint Abdulrahman University. Computer Sciences Department

Princess Nourah bint Abdulrahman University. Computer Sciences Department Princess Nourah bint Abdulrahman University Computer Sciences Department 1 And use http://www.w3schools.com/ PHP Part 1 Objectives Introduction to PHP Computer Sciences Department 4 Introduction HTML CSS

More information

Chapter4: HTML Table and Script page, HTML5 new forms. Asst. Prof. Dr. Supakit Nootyaskool Information Technology, KMITL

Chapter4: HTML Table and Script page, HTML5 new forms. Asst. Prof. Dr. Supakit Nootyaskool Information Technology, KMITL Chapter4: HTML Table and Script page, HTML5 new forms Asst. Prof. Dr. Supakit Nootyaskool Information Technology, KMITL Objective To know HTML5 creating a new style form. To understand HTML table benefits

More information

Server Side Scripting Report

Server Side Scripting Report Server Side Scripting Report David Nelson 205CDE Developing the Modern Web Assignment 2 Student ID: 3622926 Computing BSc 29 th March, 2013 http://creative.coventry.ac.uk/~nelsond/ - Page 1 - Contents

More information

SQL CSCI 201 Principles of Software Development

SQL CSCI 201 Principles of Software Development SQL CSCI 201 Principles of Software Development Jeffrey Miller, Ph.D. jeffrey.miller@usc.edu Outline SELECT Statements Try It USC CSCI 201L SELECT Statements SELECT statements are probably the most commonly

More information

Database Systems. phpmyadmin Tutorial

Database Systems. phpmyadmin Tutorial phpmyadmin Tutorial Please begin by logging into your Student Webspace. You will access the Student Webspace by logging into the Campus Common site. Go to the bottom of the page and click on the Go button

More information

PHP. M hiwa ahamad aziz Raparin univercity. 1 Web Design: Lecturer ( m hiwa ahmad aziz)

PHP. M hiwa ahamad aziz  Raparin univercity. 1 Web Design: Lecturer ( m hiwa ahmad aziz) PHP M hiwa ahamad aziz www.raparinweb.com Raparin univercity 1 Server-Side Programming language asp, asp.net, php, jsp, perl, cgi... 2 Of 68 Client-Side Scripting versus Server-Side Scripting Client-side

More information

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Drupal

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Drupal About the Tutorial is a free and open source Content Management System (CMS) that allows organizing, managing and publishing your content. This reliable and secure CMS is built on PHP based environment

More information

As we design and build out our HTML pages, there are some basics that we may follow for each page, site, and application.

As we design and build out our HTML pages, there are some basics that we may follow for each page, site, and application. Extra notes - Client-side Design and Development Dr Nick Hayward HTML - Basics A brief introduction to some of the basics of HTML. Contents Intro element add some metadata define a base address

More information

Web Application Performance Testing with MERCURY LOADRUNNER

Web Application Performance Testing with MERCURY LOADRUNNER Web Application Performance Testing with MERCURY LOADRUNNER Course Overview (17 lessons) Introduction...2 1. Introduction...2 Web Application Development - overview and terminology...3 2. Two tiers configuration...3

More information

Selected Sections of Applied Informatics

Selected Sections of Applied Informatics Selected Sections of Applied Informatics M.Sc. Marcin Koniak koniakm@wt.pw.edu.pl http://www2.wt.pw.edu.pl/~a.czerepicki Based on lecture: Dr inż. Andrzej Czerepicki a.czerepicki@wt.pw.edu.pl 2018 HTML

More information

Come & Join Us at VUSTUDENTS.net

Come & Join Us at VUSTUDENTS.net Come & Join Us at VUSTUDENTS.net For Assignment Solution, GDB, Online Quizzes, Helping Study material, Past Solved Papers, Solved MCQs, Current Papers, E-Books & more. Go to http://www.vustudents.net and

More information

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

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

More information

DATABASE SYSTEMS. Introduction to MySQL. Database System Course, 2016

DATABASE SYSTEMS. Introduction to MySQL. Database System Course, 2016 DATABASE SYSTEMS Introduction to MySQL Database System Course, 2016 AGENDA FOR TODAY Administration Database Architecture on the web Database history in a brief Databases today MySQL What is it How to

More information

More loops. Control structures / flow control. while loops. Loops / Iteration / doing things over and over and over and over...

More loops. Control structures / flow control. while loops. Loops / Iteration / doing things over and over and over and over... Control structures / flow control More loops while loops if... else Switch for loops while... do.. do... while... Much of this material is explained in PHP programming 2nd Ed. Chap 2 Control structures

More information

Web Database Programming

Web Database Programming Web Database Programming Web Database Programming 2011 Created: 2011-01-21 Last update: 2015-12-20 Contents Introduction... 2 Use EasyDataSet as Data Source... 2 Bind-data to single field... 2 Data Query...

More information

COSC344 Database Theory and Applications PHP & SQL. Lecture 14

COSC344 Database Theory and Applications PHP & SQL. Lecture 14 COSC344 Database Theory and Applications Lecture 14: PHP & SQL COSC344 Lecture 14 1 Last Lecture Java & SQL Overview This Lecture PHP & SQL Revision of the first half of the lectures Source: Lecture notes,

More information

SmileTiger emeeting Server 2008 Integration Guide

SmileTiger emeeting Server 2008 Integration Guide SmileTiger emeeting Server 2008 Integration Guide SmileTiger Software Corporation 11615 Sir Francis Drake Drive Charlotte, NC 28277 USA Tel: + 1 704 321 9068 Fax: +1 704 321 5129 http://www.smiletiger.com

More information

Development Technologies. Agenda: phpmyadmin 2/20/2016. phpmyadmin MySQLi. Before you can put your data into a table, that table should exist.

Development Technologies. Agenda: phpmyadmin 2/20/2016. phpmyadmin MySQLi. Before you can put your data into a table, that table should exist. CIT 736: Internet and Web Development Technologies Lecture 10 Dr. Lupiana, DM FCIM, Institute of Finance Management Semester 1, 2016 Agenda: phpmyadmin MySQLi phpmyadmin Before you can put your data into

More information

Advanced Web Tutorial 10

Advanced Web Tutorial 10 Advanced Web Tutorial 10 Editor Brackets / Visual Studio Code Goals Creating a blog with PHP and MySql. - Set up and configuration of Xampp - Learning Data flow using Create/Read/Update and Delete Things

More information

Course Wiki. Today s Topics. Web Resources. Amazon EC2. Linux. Apache PHP. Workflow and Tools. Extensible Networking Platform 1

Course Wiki. Today s Topics. Web Resources. Amazon EC2. Linux. Apache PHP. Workflow and Tools. Extensible Networking Platform 1 Today s Topics Web Resources Amazon EC2 Linux Apache PHP Workflow and Tools Extensible Networking Platform 1 1 - CSE 330 Creative Programming and Rapid Prototyping Course Wiki Extensible Networking Platform

More information

CPSC 481: CREATIVE INQUIRY TO WSBF

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

More information

UNIVERSITY OF TORONTO Faculty of Arts and Science APRIL 2016 EXAMINATIONS. CSC309H1 S Programming on the Web Instructor: Ahmed Shah Mashiyat

UNIVERSITY OF TORONTO Faculty of Arts and Science APRIL 2016 EXAMINATIONS. CSC309H1 S Programming on the Web Instructor: Ahmed Shah Mashiyat UNIVERSITY OF TORONTO Faculty of Arts and Science APRIL 2016 EXAMINATIONS CSC309H1 S Programming on the Web Instructor: Ahmed Shah Mashiyat Duration - 2 hours Aid Sheet: Both side of one 8.5 x 11" sheet

More information

KENDRIYA VIDYALAYA SANGATHAN, ERNAKULAM REGION MODEL QUESTION PAPER INFORMATICS PRACTICES (065) ANSWER KEY- SET-2

KENDRIYA VIDYALAYA SANGATHAN, ERNAKULAM REGION MODEL QUESTION PAPER INFORMATICS PRACTICES (065) ANSWER KEY- SET-2 KENDRIYA VIDYALAYA SANGATHAN, ERNAKULAM REGION MODEL QUESTION PAPER 2012-13 INFORMATICS PRACTICES (065) ANSWER KEY- SET-2 1. [A] Domain name resolution. [B] SMTP(Simple Mail Transfer Protocol) [C] MAN

More information

NAPIER UNIVERSITY SCHOOL OF COMPUTING CO32034 SERVER ADMINISTRATION EXAM PAPER INFORMATION. Answer ALL questions.

NAPIER UNIVERSITY SCHOOL OF COMPUTING CO32034 SERVER ADMINISTRATION EXAM PAPER INFORMATION. Answer ALL questions. Matric No: NAPIER UNIVERSITY SCHOOL OF COMPUTING CO32034 SERVER ADMINISTRATION ACADEMIC SESSION: 2004-2005 DIET: MAY TRIMESTER: TWO EXAM DURATION: 2 HOURS READING TIME: NONE EXAM PAPER INFORMATION Answer

More information

EXPERIMENT- 9. Login.html

EXPERIMENT- 9. Login.html EXPERIMENT- 9 To write a program that takes a name as input and on submit it shows a hello page with name taken from the request. And it shows starting time at the right top corner of the page and provides

More information

CSC 215 PROJECT 2 DR. GODFREY C. MUGANDA

CSC 215 PROJECT 2 DR. GODFREY C. MUGANDA CSC 215 PROJECT 2 DR. GODFREY C. MUGANDA 1. Project Overview In this project, you will create a PHP web application that you can use to track your friends. Along with personal information, the application

More information

This paper is not to be removed from the Examination Halls UNIVERSITY OF LONDON

This paper is not to be removed from the Examination Halls UNIVERSITY OF LONDON ~~IS1168 ZA d0 This paper is not to be removed from the Examination Halls UNIVERSITY OF LONDON IS1168 ZA BSc degrees and Diplomas for Graduates in Economics, Management, Finance and the Social Sciences,

More information

COPYRIGHT 2012 DROIDLA LIMITED

COPYRIGHT 2012 DROIDLA LIMITED Integrating with your Website COPYRIGHT 2012 DROIDLA LIMITED ALL RIGHTS RESERVED DROIDLA LIMITED v1.0 - NOVEMBER 2012 Contents OVERVIEW OF THE INTEGRATION PROCESS... 2 1. CREATE AN ACCOUNT... 2 2. ACCEPT

More information

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

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

More information

CMPS 401 Survey of Programming Languages

CMPS 401 Survey of Programming Languages CMPS 401 Survey of Programming Languages Programming Assignment #4 PHP Language On the Ubuntu Operating System Write a PHP program (P4.php) and create a HTML (P4.html) page under the Ubuntu operating system.

More information

Static Webpage Development

Static Webpage Development Dear Student, Based upon your enquiry we are pleased to send you the course curriculum for PHP Given below is the brief description for the course you are looking for: - Static Webpage Development Introduction

More information

PHP: Hypertext Preprocessor. A tutorial Introduction

PHP: Hypertext Preprocessor. A tutorial Introduction PHP: Hypertext Preprocessor A tutorial Introduction Introduction PHP is a server side scripting language Primarily used for generating dynamic web pages and providing rich web services PHP5 is also evolving

More information

HALTON SKILLS COMPETITION WEBSITE DEVELOPMENT SCOPE SECONDARY LEVEL Coordinator: Ron Boyd,

HALTON SKILLS COMPETITION WEBSITE DEVELOPMENT SCOPE SECONDARY LEVEL Coordinator: Ron Boyd, Coordinator: Ron Boyd, rwboyd@orionsweb.net PURPOSE OF THE CHALLENGE To provide competitors with the opportunity to demonstrate, through practical and theoretical application, their skills in client- and

More information

Introductory workshop on PHP-MySQL

Introductory workshop on PHP-MySQL Introductory workshop on PHP-MySQL Welcome to Global Certifications and Training from Rocky Sir Download all needed s/w from monster.suven.net Full Stack development : UI + Server Side 1 or more client

More information

CSc 337 Final Examination December 13, 2013

CSc 337 Final Examination December 13, 2013 On my left is: (NetID) MY NetID On my right is: (NetID) CSc 337 Final Examination December 13, 2013 READ THIS FIRST Read this page now but do not turn this page until you are told to do so. Go ahead and

More information

Technical Guide Login Page Customization

Technical Guide Login Page Customization Released: 2017-11-15 Doc Rev No: R2 Copyright Notification Edgecore Networks Corporation Copyright 2019 Edgecore Networks Corporation. The information contained herein is subject to change without notice.

More information

National Unit Specification: general information. The Internet (Higher) NUMBER DM4F 12. Information Systems (Higher)

National Unit Specification: general information. The Internet (Higher) NUMBER DM4F 12. Information Systems (Higher) National Unit Specification: general information NUMBER DM4F 12 COURSE Information Systems (Higher) SUMMARY This Unit is designed to develop knowledge and understanding of the operating principles of the

More information

USQ/CSC2406 Web Publishing

USQ/CSC2406 Web Publishing USQ/CSC2406 Web Publishing Lecture 4: HTML Forms, Server & CGI Scripts Tralvex (Rex) Yeap 19 December 2002 Outline Quick Review on Lecture 3 Topic 7: HTML Forms Topic 8: Server & CGI Scripts Class Activity

More information

Mastering phpmyadmiri 3.4 for

Mastering phpmyadmiri 3.4 for Mastering phpmyadmiri 3.4 for Effective MySQL Management A complete guide to getting started with phpmyadmin 3.4 and mastering its features Marc Delisle [ t]open so 1 I community experience c PUBLISHING

More information

Electronic Examinations e-exams Using Open Source Software

Electronic Examinations e-exams Using Open Source Software Electronic Examinations e-exams Using Open Source Software L. FRAGIDIS, V. MARDIRIS, Ch. MIZAS, S. SIMEONIDIS and V. CHATZIS Information Management Department Technological Institute of Kavala GR-65404

More information

COMP3311 Database Systems

COMP3311 Database Systems The University Of New South Wales Final Exam June 2004 COMP3311 Database Systems Time allowed: 3 hours Total number of questions: 7 Total number of marks: 150 Textbooks, study notes, calculators, mobile

More information

Mobile Phone Monitoring System For Android Operating System

Mobile Phone Monitoring System For Android Operating System Mobile Phone Monitoring System For Android Operating System Ms.M.Kalpana Devi Asst.Professor,SRIT,CBE Ms.D.Vasuki Final Year M.C.A.,Student Abstract The Purpose of the project is to trace out the status

More information

DR B.R.AMBEDKAR UNIVERSITY B.Sc.(Computer Science): III Year THEORY PAPER IV (Elective 4) PHP, MySQL and Apache

DR B.R.AMBEDKAR UNIVERSITY B.Sc.(Computer Science): III Year THEORY PAPER IV (Elective 4) PHP, MySQL and Apache DR B.R.AMBEDKAR UNIVERSITY B.Sc.(Computer Science): III Year THEORY PAPER IV (Elective 4) PHP, MySQL and Apache 90 hrs (3 hrs/ week) Unit-1 : Installing and Configuring MySQL, Apache and PHP 20 hrs Installing

More information

School of Computing and Information Technology. Examination Paper Autumn Session 2017

School of Computing and Information Technology. Examination Paper Autumn Session 2017 School of Computing and Information Technology CSIT115 Data Management and Security Wollongong Campus Student to complete: Family name Other names Student number Table number Examination Paper Autumn Session

More information

Romanian ICT Education and Training Institutions Platform

Romanian ICT Education and Training Institutions Platform Romanian ICT Education and Training Institutions Platform Assoc. Prof. Eugen PETAC, Ph.D., Lucian NOVAC Foundation for Promoting ICT, Constanta Romania http://www.fict.ro E-mail: office@fict.ro Contents

More information

A Comparison Study of Web Based Application Development Using PHP and ASP.NET

A Comparison Study of Web Based Application Development Using PHP and ASP.NET A Comparison Study of Web Based Application Development Using PHP and ASP.NET Morris M. Liaw, Ph. D. Univ. of Houston Clear Lake Houston, TX 77058, US liaw@uhcl.edu Abdul Mansoor Mohammed. Univ. of Houston

More information

DATABASE SYSTEMS. Introduction to MySQL. Database System Course, 2016

DATABASE SYSTEMS. Introduction to MySQL. Database System Course, 2016 DATABASE SYSTEMS Introduction to MySQL Database System Course, 2016 AGENDA FOR TODAY Administration Database Architecture on the web Database history in a brief Databases today MySQL What is it How to

More information

Chapter 6 Part2: Manipulating MySQL Databases with PHP

Chapter 6 Part2: Manipulating MySQL Databases with PHP IT215 Web Programming 1 Chapter 6 Part2: Manipulating MySQL Databases with PHP Jakkrit TeCho, Ph.D. Business Information Technology (BIT), Maejo University Phrae Campus Objectives In this chapter, you

More information

2.) You need personal webspace. This is usually provided by your Internet service provider. Check with your ISP on how to set up the webspace.

2.) You need personal webspace. This is usually provided by your Internet service provider. Check with your ISP on how to set up the webspace. Welcome Congratulations for purchasing or trying out DIPLink, a tool that we believe will be very helpful for running a web server on your local home computer. DIPLink enables you to run a web server on

More information

ISSN: [Kumar * et al., 7(3): March, 2018] Impact Factor: 5.164

ISSN: [Kumar * et al., 7(3): March, 2018] Impact Factor: 5.164 IJESRT INTERNATIONAL JOURNAL OF ENGINEERING SCIENCES & RESEARCH TECHNOLOGY DEVELOPMENT OF A SMALL FOSS APPLICATION NAMED TEACHER STUDENT PORTAL USING FREE AND OPEN SOURCE SOFTWARES Sushil Kumar *1, Dr.

More information

THE INTERNET/INTRANET APPLICATION FOR CUTTING REGIME SETTING 1. INTRODUCTION

THE INTERNET/INTRANET APPLICATION FOR CUTTING REGIME SETTING 1. INTRODUCTION Journal of Machine Engineering, Vol. 10, No. 2, 2010 optimal cutting regime, MySql data base, internet Pavel KOVAČ 1 Marin GOSTIMIROVIĆ 1 Milenko SEKULIĆ 1 Nikola PIŽURICA 2 THE INTERNET/INTRANET APPLICATION

More information

This is CS50. Harvard College Fall Quiz 1 Answer Key

This is CS50. Harvard College Fall Quiz 1 Answer Key Quiz 1 Answer Key Answers other than the below may be possible. Know Your Meme. 0. True or False. 1. T 2. F 3. F 4. F 5. T Attack. 6. By never making assumptions as to the length of users input and always

More information

PRÍLOHY PRÍLOHY. Príloha 1 Náhľady vybraných podstránok webovej stránky

PRÍLOHY PRÍLOHY. Príloha 1 Náhľady vybraných podstránok webovej stránky PRÍLOHY Príloha 1 Náhľady vybraných podstránok webovej stránky Príloha 2 Vybrané časti zdrojového kódu V Prílohe 3 sa nachádza len niekoľko vybraných častí zdrojového kódu projektu. Kompletný zdrojový

More information