Membuat Aplikasi Berita Sederhana

Size: px
Start display at page:

Download "Membuat Aplikasi Berita Sederhana"

Transcription

1 Pemrograman Web Membuat Aplikasi Berita Sederhana Merancang Struktur Database Membuat File Koneksi Database Membuat Halaman Input Berita Menampilkan Berita Terbaru di Halaman Depan Menampilkan Berita Lengkap Membuat Halaman Arsip Berita Membuat Halaman Edit Berita Membuat Halaman Delete Berita CSS sebagai Pemanis Tampilan Merancang Struktur Database Berikut ini perintah (SQL) untuk membuat tabel berita CREATE TABLE berita ( id_berita int() unsigned NOT NULL auto_increment, id_kategori int() unsigned NOT NULL default '0', judul varchar(00) NOT NULL default '', headline text NOT NULL, isi text NOT NULL, pengirim varchar() NOT NULL default '', tanggal datetime NOT NULL default ' :00:00', PRIMARY KEY (id_berita) ) TYPE=MyISAM; Berikut ini perintah (SQL) untuk membuat tabel kategori CREATE TABLE kategori ( id_kategori int() unsigned NOT NULL auto_increment, nm_kategori varchar(0) NOT NULL default '', deskripsi varchar(00) NOT NULL default '', PRIMARY KEY (id_kategori), ) TYPE=MyISAM; Membuat File Koneksi Database Program : koneksi.php : Program koneksi ke database. 0 $host = "localhost"; $user = "root"; $pass = ""; $dbnm = "pw"; $conn = mysql_connect ($host, $user, $pass); if ($conn) { $buka = mysql_select_db ($dbnm); if (!$buka) { die ("Database tidak dapat dibuka"); else { die ("Server MySQL tidak terhubung"); Achmad Solichin (achmatim@bl.ac.id) Halaman

2 Pemrograman Web Membuat Halaman Input Berita Program : input_berita.php : Program input berita //proses input berita if (isset($_post['input'])) { $judul = addslashes (strip_tags ($_POST['judul'])); $kategori = $_POST['kategori']; $headline = addslashes (strip_tags ($_POST['headline'])); $isi_berita = addslashes (strip_tags ($_POST['isi'])); $pengirim = addslashes (strip_tags ($_POST['pengirim'])); //insert ke tabel $query = "INSERT INTO berita VALUES('','$kategori','$judul','$headline','$isi_berita','$pengirim', now())"; if ($sql) { echo "<h><font color=blue>berita telah berhasil ditambahkan</font></h>"; else { echo "<h><font color=red>berita gagal ditambahkan</font></h>"; <head><title>input Berita</title> <FORM ACTION="" METHOD="POST" NAME="input"> <table cellpadding="0" cellspacing="0" border="0" width="00"> <td colspan=""><h>input Berita</h></td> <td width="00">judul Berita</td> <td>: <input type="text" name="judul" size="0"></td> <td>kategori</td> <td>: <select name="kategori"> $query = "SELECT id_kategori, nm_kategori FROM kategori ORDER BY nm_kategori"; while ($hasil = mysql_fetch_array ($sql)) { echo "<option value='$hasil[id_kategori]'>$hasil[nm_kategori]</option>"; </select></td> Achmad Solichin (achmatim@bl.ac.id) Halaman

3 Pemrograman Web 0 0 </textarea></td> </textarea></td> </td> <td>headline Berita</td> <td>: <textarea name="headline" cols="0" rows=""> <td>isi Berita</td> <td>: <textarea name="isi" cols="0" rows="0"> <td>pengirim</td> <td>: <input type="text" name="pengirim" size="0"> <td> </td> <td> <input type="submit" name="input" value="input Berita"> <input type="reset" name="reset" value="cancel"> </td> </table> </FORM> Menampilkan Berita Terbaru di Halaman Depan Program : index.php : Program menampilkan berita terbaru di halaman depan <head><title>index Berita</title> <h>halaman Depan ~ Lima Berita Terbaru</h> $query = "SELECT A.id_berita, B.nm_kategori, A.judul, A.headline, A.pengirim, A.tanggal FROM berita A, kategori B WHERE A.id_kategori=B.id_kategori ORDER BY A.id_berita DESC LIMIT 0,"; while ($hasil = mysql_fetch_array ($sql)) { $id_berita = $hasil['id_berita']; $kategori = stripslashes ($hasil['nm_kategori']); $judul = stripslashes ($hasil['judul']); $headline = nlbr(stripslashes ($hasil['headline'])); $pengirim = stripslashes ($hasil['pengirim']); $tanggal = stripslashes ($hasil['tanggal']); // //tampilkan berita echo "<font size=><a href='berita_lengkap.php?id=$id_berita'>$judul</a></font><br>"; echo "<small>berita dikirimkan oleh <b>$pengirim</b> Achmad Solichin (achmatim@bl.ac.id) Halaman

4 Pemrograman Web pada tanggal <b>$tanggal</b> dalam kategori <b>$kategori</b></small>"; echo "<p>$headline</p>"; echo "<hr>"; Menampilkan Berita Lengkap Program : berita_lengkap.php : Program menampilkan berita secara lengkap if (isset($_get['id'])) { $id_berita = $_GET['id']; else { die ("Error. No Id Selected! "); <head><title>berita Lengkap</title> <h>berita Lengkap</h> $query = "SELECT A.id_berita, B.nm_kategori, A.judul, A.isi, A.pengirim, A.tanggal FROM berita A, kategori B WHERE A.id_kategori=B.id_kategori && A.id_berita='$id_berita'"; $hasil = mysql_fetch_array ($sql); $id_berita = $hasil['id_berita']; $kategori = stripslashes ($hasil['nm_kategori']); $judul = stripslashes ($hasil['judul']); $isi = nlbr(stripslashes ($hasil['isi'])); $pengirim = stripslashes ($hasil['pengirim']); $tanggal = stripslashes ($hasil['tanggal']); // //tampilkan berita echo "<font size= color=blue>$judul</font><br>"; echo "<small>berita dikirimkan oleh <b>$pengirim</b> pada tanggal <b>$tanggal</b> dalam kategori <b>$kategori</b></small>"; echo "<p>$isi</p>"; Membuat Halaman Arsip Berita Program : arsip_berita.php : Program arsip keseluruhan berita. Achmad Solichin (achmatim@bl.ac.id) Halaman

5 Pemrograman Web <head><title>arsip Berita</title> <script language="javascript"> function tanya() { if (confirm ("Apakah Anda yakin akan menghapus berita ini?")) { return true; else { return false; </script> <h>arsip Berita</h> <ol> $query = "SELECT A.id_berita, B.nm_kategori, A.judul, A.pengirim, A.tanggal FROM berita A, kategori B WHERE A.id_kategori=B.id_kategori ORDER BY A.id_berita DESC"; while ($hasil = mysql_fetch_array ($sql)) { $id_berita = $hasil['id_berita']; $kategori = stripslashes ($hasil['nm_kategori']); $judul = stripslashes ($hasil['judul']); $pengirim = stripslashes ($hasil['pengirim']); $tanggal = stripslashes ($hasil['tanggal']); // //tampilkan arsip berita echo "<li><a href='berita_lengkap.php?id=$id_berita'>$judul</a><br>"; echo "<small>berita dikirimkan oleh <b>$pengirim</b> pada tanggal <b>$tanggal</b> dalam kategori <b>$kategori</b><br>"; echo "<b>action : </b><a href='edit_berita.php?id=$id_berita'>edit</a> "; echo "<a href='delete_berita.php?id=$id_berita' onclick='return tanya()'>delete</a>"; echo "</small></li>"; </ol> Membuat Halaman Edit Berita Program : edit_berita.php : Program edit berita. Achmad Solichin (achmatim@bl.ac.id) Halaman

6 Pemrograman Web if (isset($_get['id'])) { $id_berita = $_GET['id']; else { die ("Error. No Id Selected! "); $query = "SELECT id_berita, id_kategori, judul, headline, isi, pengirim, tanggal FROM berita WHERE id_berita='$id_berita'"; $hasil = mysql_fetch_array ($sql); $id_berita = $hasil['id_berita']; $id_kategori = stripslashes ($hasil['id_kategori']); $judul = stripslashes ($hasil['judul']); $headline = stripslashes ($hasil['headline']); $isi = stripslashes ($hasil['isi']); $pengirim = stripslashes ($hasil['pengirim']); $tanggal = stripslashes ($hasil['tanggal']); //proses edit berita if (isset($_post['edit'])) { $id_berita = $_POST['hidberita']; $judul = addslashes (strip_tags ($_POST['judul'])); $kategori = $_POST['kategori']; $headline = addslashes (strip_tags ($_POST['headline'])); $isi_berita = addslashes (strip_tags ($_POST['isi'])); $pengirim = addslashes (strip_tags ($_POST['pengirim'])); //update berita $query = "UPDATE berita SET id_kategori='$kategori',judul='$judul',headline='$headline', isi='$isi_berita',pengirim='$pengirim' WHERE id_berita='$id_berita'"; if ($sql) { echo "<h><font color=blue>berita telah berhasil diedit</font></h>"; else { echo "<h><font color=red>berita gagal diedit</font></h>"; <head><title>edit Berita</title> <FORM ACTION="" METHOD="POST" NAME="input"> <table cellpadding="0" cellspacing="0" border="0" width="00"> <td colspan=""><h>input Berita</h></td> <td width="00">judul Berita</td> <td>: <input type="text" name="judul" size="0" value=" echo $judul "></td> <td>kategori</td> <td>: <select name="kategori"> $query = "SELECT id_kategori, nm_kategori FROM kategori ORDER BY nm_kategori"; Achmad Solichin (achmatim@bl.ac.id) Halaman

7 Pemrograman Web while ($hasil = mysql_fetch_array ($sql)) { $selected = ($hasil['id_kategori']== $id_kategori)? "selected" : ""; echo "<option value='$hasil[id_kategori]' $selected>$hasil[nm_kategori]</option>"; </select></td> <td>headline Berita</td> <td>: <textarea name="headline" cols="0" rows="">=$headline</textarea></td> <td>isi Berita</td> <td>: <textarea name="isi" cols="0" rows="0">=$isi</textarea></td> <td>pengirim</td> <td>: <input type="text" name="pengirim" size="0" value="=$pengirim"></td> <td> </td> <td> <input type="hidden" name="hidberita" value="=$id_berita"> <input type="submit" name="edit" value="edit Berita"> <input type="reset" name="reset" value="cancel"></td> </table> </FORM> Membuat Halaman Delete Berita Program : delete_berita.php : Program untuk menghapus berita. 0 if (isset($_get['id'])) { $id_berita = $_GET['id']; else { die ("Error. No Id Selected! "); <head><title>delete Berita</title> Achmad Solichin (achmatim@bl.ac.id) Halaman

8 Pemrograman Web 0 0 //proses delete berita if (!empty($id_berita) && $id_berita!= "") { $query = "DELETE FROM berita WHERE id_berita='$id_berita'"; if ($sql) { echo "<h><font color=blue>berita telah berhasil dihapus</font></h>"; else { echo "<h><font color=red>berita gagal dihapus</font></h>"; echo "Klik <a href='arsip_berita.php'>di sini</a> untuk kembali ke halaman arsip berita"; else { die ("Access Denied"); CSS sebagai Pemanis Tampilan Program : style.css : File CSS sebagai pemanis tampilan. 0 body { font-family:verdana; font-size:px; a { color:#0000ff; text-decoration:underline; a:hover { color:#ffffff; background-color:#ac; text-decoration:none; input, textarea, select, option { font-family:verdana; Achmad Solichin (achmatim@bl.ac.id) Halaman

Create dynamic sites with PHP & MySQL

Create dynamic sites with PHP & MySQL Create dynamic sites with PHP & MySQL Presented by developerworks, your source for great tutorials Table of Contents If you're viewing this document online, you can click any of the topics below to link

More information

By : Ashish Modi. CRUD USING PHP (Create, Read, Update and Delete on Database) Create Database and Table using following Sql Syntax.

By : Ashish Modi. CRUD USING PHP (Create, Read, Update and Delete on Database) Create Database and Table using following Sql Syntax. CRUD USING PHP (Create, Read, Update and Delete on Database) Create Database and Table using following Sql Syntax. create database test; CREATE TABLE `users` ( `id` int(11) NOT NULL auto_increment, `name`

More information

A table is a collection of related data entries and it consists of columns and rows.

A table is a collection of related data entries and it consists of columns and rows. CST 250 MySQL Notes (Source: www.w3schools.com) MySQL is the most popular open-source database system. What is MySQL? MySQL is a database. The data in MySQL is stored in database objects called tables.

More information

Panduan Program Power Led

Panduan Program Power Led Panduan Program Power Led 1.Pertama-tama install Software power led seperti menginstal software lainnya 2. Jika instal sudah selesai maka tampilan akan seperti ini. Jika kontroler Tipe Serial USB to Serial

More information

A Brief Introduction to MySQL

A Brief Introduction to MySQL A Brief Introduction to MySQL by Derek Schuurman Introduction to Databases A database is a structured collection of logically related data. One common type of database is the relational database, a term

More information

Other Language Types CMSC 330: Organization of Programming Languages

Other Language Types CMSC 330: Organization of Programming Languages Other Language Types CMSC 330: Organization of Programming Languages Markup and Query Languages Markup languages Set of annotations to text Query languages Make queries to databases & information systems

More information

Server side scripting and databases

Server side scripting and databases Three components used in typical web application Server side scripting and databases How Web Applications interact with server side databases Browser Web server Database server Web server Web server Apache

More information

Web Development for Business Revision Pack

Web Development for Business Revision Pack Web Development for Business Revision Pack The exam is 3 hours. This is the second year that Web Development for Business has run and after feedback from students last year the paper structure has been

More information

How To Create A Web Database From A Multimedia Resources Database On A Microsoft Web Browser On A Pc Or Mac Or Mac (For Free) On A Mac Or Ipad Or Ipa (For Cheap) On Pc Or Ipam (For Money

How To Create A Web Database From A Multimedia Resources Database On A Microsoft Web Browser On A Pc Or Mac Or Mac (For Free) On A Mac Or Ipad Or Ipa (For Cheap) On Pc Or Ipam (For Money How to Build a Web Database: A Case Study Introduction This paper shows you how to build a simple Web application using ColdFusion. If you follow the sample case study of the multimedia resources database

More information

Sample Code with Output

Sample Code with Output Sample Code with Output File Upload : In PHP, we can upload file to a server fileupload.html #menu a #content #italictext

More information

DIPLOMA IN WEBDEVELOPMENT

DIPLOMA IN WEBDEVELOPMENT DIPLOMA IN WEBDEVELOPMENT Prerequisite skills Basic programming knowledge on C Language or Core Java is must. # Module 1 Basics and introduction to HTML Basic HTML training. Different HTML elements, tags

More information

Connecting to a Database Using PHP. Prof. Jim Whitehead CMPS 183, Spring 2006 May 15, 2006

Connecting to a Database Using PHP. Prof. Jim Whitehead CMPS 183, Spring 2006 May 15, 2006 Connecting to a Database Using PHP Prof. Jim Whitehead CMPS 183, Spring 2006 May 15, 2006 Rationale Most Web applications: Retrieve information from a database to alter their on-screen display Store user

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

Database Security. Principle of Least Privilege. DBMS Security. IT420: Database Management and Organization. Database Security.

Database Security. Principle of Least Privilege. DBMS Security. IT420: Database Management and Organization. Database Security. Database Security Rights Enforced IT420: Database Management and Organization Database Security Textbook: Ch 9, pg 309-314 PHP and MySQL: Ch 9, pg 217-227 Database security - only authorized users can

More information

DEVELOPING AN ISP FOR HOTEL INDUSTRY: A CASE STUDY ON PUTRA PALACE HOTEL

DEVELOPING AN ISP FOR HOTEL INDUSTRY: A CASE STUDY ON PUTRA PALACE HOTEL DEVELOPING AN ISP FOR HOTEL INDUSTRY: A CASE STUDY ON PUTRA PALACE HOTEL A report submitted to the Graduate School in partial fulfillment of the requirement for the Degree Master of Science (Information

More information

Multimedia im Netz Online Multimedia Winter semester 2015/16

Multimedia im Netz Online Multimedia Winter semester 2015/16 Multimedia im Netz Online Multimedia Winter semester 2015/16 Tutorial 04 Minor Subject Ludwig-Maximilians-Universität München Online Multimedia WS 2015/16 - Tutorial 04 (NF) - 1 Today s Agenda Repetition:

More information

BAIK (BAHASA ANAK INDONESIA UNTUK KOMPUTER) PROGRAMMING LANGUAGE BASED ON INDONESIAN LEXICAL PARSING FOR MULTITIER WEB DEVELOPMENT

BAIK (BAHASA ANAK INDONESIA UNTUK KOMPUTER) PROGRAMMING LANGUAGE BASED ON INDONESIAN LEXICAL PARSING FOR MULTITIER WEB DEVELOPMENT BAIK (BAHASA ANAK INDONESIA UNTUK KOMPUTER) PROGRAMMING LANGUAGE BASED ON INDONESIAN LEXICAL PARSING FOR MULTITIER WEB DEVELOPMENT Haris Hasanudin, Member, IEEE Email: hariscom@ieee.org Abstract Business

More information

User's Guide and Software Design of. Job Tracking System for the NTC s Machine Shop 2006-01-05. Version 2.0

User's Guide and Software Design of. Job Tracking System for the NTC s Machine Shop 2006-01-05. Version 2.0 User's Guide and Software Design of Job Tracking System for the NTC s Machine Shop 2006-01-05 Version 2.0 File: \\CVFILER\cv-cdl-sis\MeasSys\Tasks\ShopTrackSys2.doc Page i Printed: 2006-01-05 12:54:59

More information

DEPARTMENT OF INFORMATION TECHNOLOGY

DEPARTMENT OF INFORMATION TECHNOLOGY M.A.M. COLLEGE OF ENGINEERING AND TECHNOLOGY TRICHY -621105 DEPARTMENT OF INFORMATION TECHNOLOGY ANNA UNIVERSITY PRACTICAL EXAMINATIONS, OCT 2011 RECORD NOTE BOOK CS1403 - SOFTWARE DEVELOPMENT LABORATORY

More information

Download: Server-side technologies. WAMP (Windows), http://www.wampserver.com/en/ MAMP (Mac), http://www.mamp.info/en/

Download: Server-side technologies. WAMP (Windows), http://www.wampserver.com/en/ MAMP (Mac), http://www.mamp.info/en/ + 1 Server-side technologies Apache,, Download: Apache Web Server: http://httpd.apache.org/download.cgi application server: http://www.php.net/downloads.php DBMS: http://www.mysql.com/downloads/ LAMP:

More information

Mul$media im Netz (Online Mul$media) Wintersemester 2014/15. Übung 03 (Nebenfach)

Mul$media im Netz (Online Mul$media) Wintersemester 2014/15. Übung 03 (Nebenfach) Mul$media im Netz (Online Mul$media) Wintersemester 2014/15 Übung 03 (Nebenfach) Online Mul?media WS 2014/15 - Übung 3-1 Databases and SQL Data can be stored permanently in databases There are a number

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

Database Administration with MySQL

Database Administration with MySQL Database Administration with MySQL Suitable For: Database administrators and system administrators who need to manage MySQL based services. Prerequisites: Practical knowledge of SQL Some knowledge of relational

More information

Enter configuration commands, one per line. End with CNTL/Z. CoreMLS(config-line)#ip domain name GMFAeroAsia

Enter configuration commands, one per line. End with CNTL/Z. CoreMLS(config-line)#ip domain name GMFAeroAsia L1 Listing CoreMLS Switch(config)#hostname CoreMLS CoreMLS(config)# CoreMLS(config)#ena sec admin CoreMLS(config)#username admin pass admin CoreMLS(config)#line console 0 CoreMLS(config-line)#login local

More information

IT360: Applied Database Systems. Database Security. Kroenke: Ch 9, pg 309-314 PHP and MySQL: Ch 9, pg 217-227

IT360: Applied Database Systems. Database Security. Kroenke: Ch 9, pg 309-314 PHP and MySQL: Ch 9, pg 217-227 IT360: Applied Database Systems Database Security Kroenke: Ch 9, pg 309-314 PHP and MySQL: Ch 9, pg 217-227 1 Database Security Rights Enforced Database security - only authorized users can perform authorized

More information

7- PHP and MySQL queries

7- PHP and MySQL queries 7- PHP and MySQL queries Course: Cris*na Puente, Rafael Palacios 2010- 1 Introduc*on Introduc?on PHP includes libraries for communica*ng with several databases: MySQL (OpenSource, the use selected for

More information

Accessing External Databases from Mobile Applications

Accessing External Databases from Mobile Applications CENTER FOR CONVERGENCE AND EMERGING NETWORK TECHNOLOGIES CCENT Syracuse University TECHNICAL REPORT: T.R. 2014-003 Accessing External Databases from Mobile Applications Version 2.0 Authored by: Anirudh

More information

Web Development Guide. Information Systems

Web Development Guide. Information Systems Web Development Guide Information Systems Gabriel Malveaux May 2013 Web Development Guide Getting Started In order to get started with your web development, you will need some basic software. In this guide

More information

Towards the end of the project: integrating our output design with php LIS458

Towards the end of the project: integrating our output design with php LIS458 Towards the end of the project: integrating our output design with php LIS458 We planned to enable our rela.onal database project as a web- enabled one, where the usual DB Administrator ac.vity of crea.ng

More information

Joomla 1.0 Extension Development Training. Learning to program for Joomla

Joomla 1.0 Extension Development Training. Learning to program for Joomla Joomla 1.0 Extension Development Training Learning to program for Joomla Objectives & Requirements Learn to develop basic Joomla Mambots, Modules and Components. Familiar with PHP and MySQL programming.

More information

When you have selected where you would like the form on your web page, insert these lines of code to start:

When you have selected where you would like the form on your web page, insert these lines of code to start: Mail Form Tutorial This tutorial will show you how to make use of SIUE s mail form script to allow web users to contact you via e mail regarding anything you wish. This script if most useful for receiving

More information

Web Application Security Part 1

Web Application Security Part 1 Web Application Security Part 1 Author : Treasure Priyamal Site : www.treasuresec.com E-mail : treasure@treasuresec.com Twitter :http://twitter.com/treasure_sec Introduction Today we are going to talk

More information

Web Development Frameworks. Matthias Korn <mkorn@cs.au.dk>

Web Development Frameworks. Matthias Korn <mkorn@cs.au.dk> Web Development Frameworks Matthias Korn 1 Overview Frameworks Introduction to CakePHP CakePHP in Practice 2 Web application frameworks Web application frameworks help developers build

More information

SQL Injection. Blossom Hands-on exercises for computer forensics and security

SQL Injection. Blossom Hands-on exercises for computer forensics and security Copyright: The development of this document is funded by Higher Education of Academy. Permission is granted to copy, distribute and /or modify this document under a license compliant with the Creative

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

MYSQL DATABASE ACCESS WITH PHP

MYSQL DATABASE ACCESS WITH PHP MYSQL DATABASE ACCESS WITH PHP Fall 2009 CSCI 2910 Server Side Web Programming Typical web application interaction Database Server 3 tiered architecture Security in this interaction is critical Web Server

More information

DESIGN AND IMPLEMENTATION OF LABORATORY CONTENT MANAGEMENT SYSTEM (CMS) ilab USING CakePHP FRAMEWORK

DESIGN AND IMPLEMENTATION OF LABORATORY CONTENT MANAGEMENT SYSTEM (CMS) ilab USING CakePHP FRAMEWORK DESIGN AND IMPLEMENTATION OF LABORATORY CONTENT MANAGEMENT SYSTEM (CMS) ilab USING CakePHP FRAMEWORK Sunu Wibirama 1, Ir.Lukito Edi Nugroho, M.Sc., Ph.D. 2, Indriana Hidayah, S.T. 3 ABSTRACT The making

More information

A SQL Injection : Internal Investigation of Injection, Detection and Prevention of SQL Injection Attacks

A SQL Injection : Internal Investigation of Injection, Detection and Prevention of SQL Injection Attacks A SQL Injection : Internal Investigation of Injection, Detection and Prevention of SQL Injection Attacks Abhay K. Kolhe Faculty, Dept. Of Computer Engineering MPSTME, NMIMS Mumbai, India Pratik Adhikari

More information

SATUAN ACARA PERKULIAHAN (SAP) Mata Kuliah : Struktur Data Kode : TIS3213 Semester : III Waktu : 2 x 3 x 50 Menit Pertemuan : 6 & 7

SATUAN ACARA PERKULIAHAN (SAP) Mata Kuliah : Struktur Data Kode : TIS3213 Semester : III Waktu : 2 x 3 x 50 Menit Pertemuan : 6 & 7 A. Kompetensi 1. Utama SATUAN ACARA PERKULIAHAN (SAP) Mata Kuliah : Struktur Data Kode : TIS3213 Semester : III Waktu : 2 x 3 x 50 Menit Pertemuan : 6 & 7 Mahasiswa dapat memahami tentang konsep pemrograman

More information

Kalkulus Fungsi Dua Peubah atau Lebih

Kalkulus Fungsi Dua Peubah atau Lebih Kalkulus Fungsi Dua Peubah atau Lebih Warsoma Djohan Prodi Matematika, FMIPA - ITB March 6, 00 Kalkulus / MA-ITB / W.D. / 00 (ITB) Kalkulus Fungsi Dua Peubah atau Lebih March 6, 00 / 9 Fungsi Dua Peubah

More information

SmartPad4i Solution Guide

SmartPad4i Solution Guide SmartPad4i Solution Guide SystemObjects Corporation March 2014 ABSTRACT With no mobile OS skills required, SmartPad4i leverages your existing RPG and COBOL skills to quickly build real mobile apps that

More information

CREATING WEB FORMS WEB and FORMS FRAMES AND

CREATING WEB FORMS WEB and FORMS FRAMES AND CREATING CREATING WEB FORMS WEB and FORMS FRAMES AND FRAMES USING Using HTML HTML Creating Web Forms and Frames 1. What is a Web Form 2. What is a CGI Script File 3. Initiating the HTML File 4. Composing

More information

Advanced PostgreSQL SQL Injection and Filter Bypass Techniques

Advanced PostgreSQL SQL Injection and Filter Bypass Techniques Advanced PostgreSQL SQL Injection and Filter Bypass Techniques INFIGO-TD TD-200 2009-04 2009-06 06-17 Leon Juranić leon.juranic@infigo.hr INFIGO IS. All rights reserved. This document contains information

More information

Introduction This document s purpose is to define Microsoft SQL server database design standards.

Introduction This document s purpose is to define Microsoft SQL server database design standards. Introduction This document s purpose is to define Microsoft SQL server database design standards. The database being developed or changed should be depicted in an ERD (Entity Relationship Diagram). The

More information

Chapter 30 Exporting Inventory Management System Data

Chapter 30 Exporting Inventory Management System Data Chapter 30 Exporting Inventory Management System Data This chapter is intended for users who are familiar with Relational Database Management Systems (RDBMS) and the Structured Query Language (SQL), who

More information

Customer Bank Account Management System Technical Specification Document

Customer Bank Account Management System Technical Specification Document Customer Bank Account Management System Technical Specification Document Technical Specification Document Page 1 of 15 Table of Contents Contents 1 Introduction 3 2 Design Overview 4 3 Topology Diagram.6

More information

HTML Forms and CONTROLS

HTML Forms and CONTROLS HTML Forms and CONTROLS Web forms also called Fill-out Forms, let a user return information to a web server for some action. The processing of incoming data is handled by a script or program written in

More information

MS ACCESS DATABASE DATA TYPES

MS ACCESS DATABASE DATA TYPES MS ACCESS DATABASE DATA TYPES Data Type Use For Size Text Memo Number Text or combinations of text and numbers, such as addresses. Also numbers that do not require calculations, such as phone numbers,

More information

Erste Schritte mit mysql. Der Umgang mit einer relationalen Datenbank

Erste Schritte mit mysql. Der Umgang mit einer relationalen Datenbank Erste Schritte mit mysql Der Umgang mit einer relationalen Datenbank Relationale Datenbanken Prinzip: Daten sind in Tabellen gespeichert Tabellen können verknüpft sein alter Name: RDBMS - Relational Database

More information

Facebook Twitter YouTube Google Plus Website Email

Facebook Twitter YouTube Google Plus Website Email PHP MySQL COURSE WITH OOP COURSE COVERS: PHP MySQL OBJECT ORIENTED PROGRAMMING WITH PHP SYLLABUS PHP 1. Writing PHP scripts- Writing PHP scripts, learn about PHP code structure, how to write and execute

More information

Java Server Pages combined with servlets in action. Generals. Java Servlets

Java Server Pages combined with servlets in action. Generals. Java Servlets Java Server Pages combined with servlets in action We want to create a small web application (library), that illustrates the usage of JavaServer Pages combined with Java Servlets. We use the JavaServer

More information

B.1 Database Design and Definition

B.1 Database Design and Definition Appendix B Database Design B.1 Database Design and Definition Throughout the SQL chapter we connected to and queried the IMDB database. This database was set up by IMDB and available for us to use. But

More information

!"# $ %& '( ! %& $ ' &)* + ! * $, $ (, ( '! -,) (# www.mysql.org!./0 *&23. mysql> select * from from clienti;

!# $ %& '( ! %& $ ' &)* + ! * $, $ (, ( '! -,) (# www.mysql.org!./0 *&23. mysql> select * from from clienti; ! "# $ %& '(! %& $ ' &)* +! * $, $ (, ( '! -,) (# www.mysql.org!./0 *&23 mysql> select * from from clienti; " "!"# $!" 1 1 5#',! INTEGER [(N)] [UNSIGNED] $ - 6$ 17 8 17 79 $ - 6: 1 79 $.;0'

More information

Chat Window Skinning Creation Guide

Chat Window Skinning Creation Guide Chat Window Skinning Creation Guide Throughout the course of a chat conversation, there are a number of different web pages that are displayed to your website visitors, including: The pre-chat survey The

More information

HOME AUTOMATION SYSTEM USING POWER LINE COMMUNICATION DARLENE BINTI MOHAMAD DOUGLAS

HOME AUTOMATION SYSTEM USING POWER LINE COMMUNICATION DARLENE BINTI MOHAMAD DOUGLAS HOME AUTOMATION SYSTEM USING POWER LINE COMMUNICATION DARLENE BINTI MOHAMAD DOUGLAS A report submitted as partial fulfillment of the requirements for the award of the Degree of Bachelor of Electrical Engineering

More information

An Introduction to Developing ez Publish Extensions

An Introduction to Developing ez Publish Extensions An Introduction to Developing ez Publish Extensions Felix Woldt Monday 21 January 2008 12:05:00 am Most Content Management System requirements can be fulfilled by ez Publish without any custom PHP coding.

More information

MySQL Quick Start Guide

MySQL Quick Start Guide Fasthosts Customer Support MySQL Quick Start Guide This guide will help you: Add a MySQL database to your account. Find your database. Add additional users. Use the MySQL command-line tools through ssh.

More information

Knowledge Base Configuration

Knowledge Base Configuration Knowledge Base Configuration You can download the Knowledge Base (KB) installer from http://www.issueview.com/ivkb.exe. You must have a copy of the IssueView database installed to use the KB. The KB must

More information

Form Handling. Server-side Web Development and Programming. Form Handling. Server Page Model. Form data appended to request string

Form Handling. Server-side Web Development and Programming. Form Handling. Server Page Model. Form data appended to request string Form Handling Server-side Web Development and Programming Lecture 3: Introduction to Java Server Pages Form data appended to request string

More information

UNIVERSITI TEKNIKAL MALAYSIA MELAKA FAKULTI TEKNOLOGI MAKLUMAT DAN KOMUNIKASI

UNIVERSITI TEKNIKAL MALAYSIA MELAKA FAKULTI TEKNOLOGI MAKLUMAT DAN KOMUNIKASI UNIVERSITI TEKNIKAL MALAYSIA MELAKA FAKULTI TEKNOLOGI MAKLUMAT DAN KOMUNIKASI SEMESTER 2 2013/2014 PROJEK SARJANA MUDA 1 (BITU ) BITD REPORT PROJECT TITLE: UTeM SPORT CARNIVAL EVENT MANAGEMENT SYSTEM PREPARED

More information

2/15/2015. Session # 5. Pat Sonnenstuhl OMUG Webmaster. Follow up from our January SIG Questions for Roy? What did you learn?

2/15/2015. Session # 5. Pat Sonnenstuhl OMUG Webmaster. Follow up from our January SIG Questions for Roy? What did you learn? Pat Sonnenstuhl OMUG Webmaster Session # 5 Follow up from our January SIG Questions for Roy? What did you learn? 1 The Guts behind your website: Terms: CMS = Contact Management System PHP = Hypertext Preprocessor

More information

UComment. UComment is a comment component for Umbraco, it makes it very easy to add comment functionality to any Umbraco content document you wish.

UComment. UComment is a comment component for Umbraco, it makes it very easy to add comment functionality to any Umbraco content document you wish. UComment UComment is a comment component for Umbraco, it makes it very easy to add comment functionality to any Umbraco content document you wish. Contents Installation... 3 Setup... 4 Prerequisites...

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

SoftwarePlanner Active Directory Authentication

SoftwarePlanner Active Directory Authentication User s Guide SoftwarePlanner Active Directory Authentication This document provides an explanation of using Active Directory with SoftwarePlanner. 1 Narrative In some situations, it may be preferable to

More information

Precondition for a good understanding: knowledge of a higher programming language (e.g. C, Java, Perl, Pascal, Basic,... ) basic knowledge of html

Precondition for a good understanding: knowledge of a higher programming language (e.g. C, Java, Perl, Pascal, Basic,... ) basic knowledge of html Some Remarks about Dynamic Webpages Matthias K. Krause Hochschule für Telekommunikation, Leipzig University of Applied Sciences Deutsche Telekom krause@hft-leipzig.de Precondition for a good understanding:

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

New Features in MySQL 5.0, 5.1, and Beyond

New Features in MySQL 5.0, 5.1, and Beyond New Features in MySQL 5.0, 5.1, and Beyond Jim Winstead jimw@mysql.com Southern California Linux Expo February 2006 MySQL AB 5.0: GA on 19 October 2005 Expanded SQL standard support: Stored procedures

More information

A basic create statement for a simple student table would look like the following.

A basic create statement for a simple student table would look like the following. Creating Tables A basic create statement for a simple student table would look like the following. create table Student (SID varchar(10), FirstName varchar(30), LastName varchar(30), EmailAddress varchar(30));

More information

Asterisk Cluster with MySQL Replication. JR Richardson Engineering for the Masses Hubguru@gmail.com

Asterisk Cluster with MySQL Replication. JR Richardson Engineering for the Masses Hubguru@gmail.com Asterisk Cluster with MySQL Replication JR Richardson Engineering for the Masses Hubguru@gmail.com Presentation Overview Reasons to cluster Asterisk Load distribution Scalability This presentation focuses

More information

LAB 1: Getting started with WebMatrix. Introduction. Creating a new database. M1G505190: Introduction to Database Development

LAB 1: Getting started with WebMatrix. Introduction. Creating a new database. M1G505190: Introduction to Database Development LAB 1: Getting started with WebMatrix Introduction In this module you will learn the principles of database development, with the help of Microsoft WebMatrix. WebMatrix is a software application which

More information

Redundant Storage Cluster

Redundant Storage Cluster Redundant Storage Cluster For When It's Just Too Big Bob Burgess radian 6 Technologies MySQL User Conference 2009 Scope Fundamentals of MySQL Proxy Fundamentals of LuaSQL Description of the Redundant Storage

More information

Webapps Vulnerability Report

Webapps Vulnerability Report Tuesday, May 1, 2012 Webapps Vulnerability Report Introduction This report provides detailed information of every vulnerability that was found and successfully exploited by CORE Impact Professional during

More information

AUTOMATIC INVENTORY CONTROL SYSTEM

AUTOMATIC INVENTORY CONTROL SYSTEM AUTOMATIC INVENTORY CONTROL SYSTEM Mohammad Mohsin Rumi 07141003 [Old ID: 02201070] Department of Computer Science and Engineering May 2007 BRAC University, Dhaka, Bangladesh 1 Supervisor - Sayeed Salam,

More information

The Essential Guide to HTML Email Design

The Essential Guide to HTML Email Design The Essential Guide to HTML Email Design Index Introduction... 3 Layout... 4 Best Practice HTML Email Example... 5 Images... 6 CSS (Cascading Style Sheets)... 7 Animation and Scripting... 8 How Spam Filters

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

SPA BEAUTY MANAGEMENT SYSTEM NAJIHAH BINTI RUSSLI

SPA BEAUTY MANAGEMENT SYSTEM NAJIHAH BINTI RUSSLI SPA BEAUTY MANAGEMENT SYSTEM NAJIHAH BINTI RUSSLI This report is submitted in partial fulfillment of the requirements for the Bachelor of Computer Science (Database Management) FACULTY OF INFORMATION AND

More information

BISKUT RAYA INVENTORY MANAGEMENT SYSTEM (BRIMS) NURUL AMIRAH BINTI ROSLAN THESIS SUBMITTED IN FULFILLMENT OF THE DEGREE OF COMPUTER SCIENCE

BISKUT RAYA INVENTORY MANAGEMENT SYSTEM (BRIMS) NURUL AMIRAH BINTI ROSLAN THESIS SUBMITTED IN FULFILLMENT OF THE DEGREE OF COMPUTER SCIENCE BISKUT RAYA INVENTORY MANAGEMENT SYSTEM (BRIMS) NURUL AMIRAH BINTI ROSLAN THESIS SUBMITTED IN FULFILLMENT OF THE DEGREE OF COMPUTER SCIENCE FACULTY OF COMPUTER SYSTEM & SOFTWARE ENGINEERING UNIVERSITI

More information

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";! SET time_zone = "+00:00";!

SET SQL_MODE = NO_AUTO_VALUE_ON_ZERO;! SET time_zone = +00:00;! -- phpmyadmin SQL Dump -- version 4.1.3 -- http://www.phpmyadmin.net -- -- Client : localhost -- Généré le : Lun 19 Mai 2014 à 15:06 -- Version du serveur : 5.6.15 -- Version de PHP : 5.4.24 SET SQL_MODE

More information

About Subscription Confirmation

About Subscription Confirmation Simple Website List Signup Form (updated Sep 2011) This document provides a brief overview and examples detailing the necessary steps to set up a List Signup form on your web site so that people can simply

More information

XEP-0043: Jabber Database Access

XEP-0043: Jabber Database Access XEP-0043: Jabber Database Access Justin Kirby mailto:justin@openaether.org xmpp:zion@openaether.org 2003-10-20 Version 0.2 Status Type Short Name Retracted Standards Track Expose RDBM systems directly

More information

Creating a High-Score Table

Creating a High-Score Table Creating a High-Score Table A high-score table is an important element in just about any game where the player is rewarded with points. Not only does it give the player something to strive for, it increases

More information

UMP-AUTOMATIC SPORT FACILITIES MANAGEMENT SYSTEM (UMPASFMS) TAN HOOI FONG UNIVERSITI MALAYSIA PAHANG

UMP-AUTOMATIC SPORT FACILITIES MANAGEMENT SYSTEM (UMPASFMS) TAN HOOI FONG UNIVERSITI MALAYSIA PAHANG UMP-AUTOMATIC SPORT FACILITIES MANAGEMENT SYSTEM (UMPASFMS) TAN HOOI FONG UNIVERSITI MALAYSIA PAHANG iv ABSTRACT UMP-Automatic Sports Facilities Management System (UMPASFMS) was proposed to help UMP Sports

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

Using SQL Server Management Studio

Using SQL Server Management Studio Using SQL Server Management Studio Microsoft SQL Server Management Studio 2005 is a graphical tool for database designer or programmer. With SQL Server Management Studio 2005 you can: Create databases

More information

Developing WCM based WebSphere Portal application using IBM Rational Application Developer

Developing WCM based WebSphere Portal application using IBM Rational Application Developer Developing WCM based WebSphere Portal application using IBM Rational Application Developer Table of Content Abstract...3 Sample Use case...3 Prerequisite...3 Developing the portlet project...4 Connecting

More information

Oracle Database 10g Express

Oracle Database 10g Express Oracle Database 10g Express This tutorial prepares the Oracle Database 10g Express Edition Developer to perform common development and administrative tasks of Oracle Database 10g Express Edition. Objectives

More information

HTML Lesson 7. Your assignment:

HTML Lesson 7. Your assignment: HTML Lesson 7 Tables are one of the biggest tools Web developers use to present data wherever they want data to go on the page. Like spreadsheets, rows go across (left to right) and columns go up and down.

More information

Page 1 of 1. Page 2 of 2 % &! " '! ( ' ( $) * +, - % -. !" # $

Page 1 of 1. Page 2 of 2 % &!  '! ( ' ( $) * +, - % -. ! # $ Argosoft Pos Server Panduan Page 1 of 1 Isi Mulai... 3 Menguasai... 5 Pilihan... 7 Menentukan catatan... 10 Menentukan Linkungan... 11 Linkungan betul... 12 Menentukan linkungan berganda... 13 Menambahkan

More information

Topic 7: Back-End Form Processing and Database Publishing with PHP/MySQL

Topic 7: Back-End Form Processing and Database Publishing with PHP/MySQL Topic 7: Back-End Form Processing and Database Publishing with PHP/MySQL 4 Lecture Hrs, 4 Practical Hrs. Learning Objectives By completing this topic, the learner should be able to: Knowledge and Understanding

More information

Lecture 9 HTML Lists & Tables (Web Development Lecture 3)

Lecture 9 HTML Lists & Tables (Web Development Lecture 3) Lecture 9 HTML Lists & Tables (Web Development Lecture 3) Today is our 3 rd Web Dev lecture During our 2 nd lecture on Web dev 1. We learnt to develop our own Web pages in HTML 2. We learnt about some

More information

Hello friends, This is Aaditya Purani and i will show you how to Bypass PHP LFI(Local File Inclusion)

Hello friends, This is Aaditya Purani and i will show you how to Bypass PHP LFI(Local File Inclusion) #Title: PHP LFI Bypass #Date : 12-July-2015 #Tested on: Kali Linux/ Windows 7 #Category : Papers #Exploit Author : Aaditya Purani Hello friends, This is Aaditya Purani and i will show you how to Bypass

More information

Tutorial: How to Use SQL Server Management Studio from Home

Tutorial: How to Use SQL Server Management Studio from Home Tutorial: How to Use SQL Server Management Studio from Home Steps: 1. Assess the Environment 2. Set up the Environment 3. Download Microsoft SQL Server Express Edition 4. Install Microsoft SQL Server Express

More information

Extracting META information from Interbase/Firebird SQL (INFORMATION_SCHEMA)

Extracting META information from Interbase/Firebird SQL (INFORMATION_SCHEMA) 13 November 2007 22:30 Extracting META information from Interbase/Firebird SQL (INFORMATION_SCHEMA) By: http://www.alberton.info/firebird_sql_meta_info.html The SQL 2003 Standard introduced a new schema

More information

Product: DQ Order Manager Release Notes

Product: DQ Order Manager Release Notes Product: DQ Order Manager Release Notes Subject: DQ Order Manager v7.1.25 Version: 1.0 March 27, 2015 Distribution: ODT Customers DQ OrderManager v7.1.25 Added option to Move Orders job step Update order

More information

G563 Quantitative Paleontology. SQL databases. An introduction. Department of Geological Sciences Indiana University. (c) 2012, P.

G563 Quantitative Paleontology. SQL databases. An introduction. Department of Geological Sciences Indiana University. (c) 2012, P. SQL databases An introduction AMP: Apache, mysql, PHP This installations installs the Apache webserver, the PHP scripting language, and the mysql database on your computer: Apache: runs in the background

More information

Web development, as you it

Web development, as you it Web development, as you it Lukas Renggli Academics PhD Student, University of Bern Industry Independent Software Consultant Communities Core-developer of Seaside Author of Magritte and Pier Agenda Natural

More information

8- Management of large data volumes

8- Management of large data volumes (Herramientas Computacionales Avanzadas para la Inves6gación Aplicada) Rafael Palacios, Jaime Boal Contents Storage systems 1. Introduc;on 2. Database descrip;on 3. Database management systems 4. SQL 5.

More information

HTML5 and CSS3. new semantic elements advanced form support CSS3 features other HTML5 features

HTML5 and CSS3. new semantic elements advanced form support CSS3 features other HTML5 features HTML5 and CSS3 new semantic elements advanced form support CSS3 features other HTML5 features fallback solutions HTML5 and CSS3 are new and evolving standards two levels of fallback different browsers

More information