SEU On-line Sales System Mark Davis Senior BS in Computer Science.

Slides:



Advertisements
Similar presentations
PHP SQL. Connection code:- mysql_connect("server", "username", "password"); Connect to the Database Server with the authorised user and password. Eg $connect.
Advertisements

PHP Hypertext Preprocessor Information Systems 337 Prof. Harry Plantinga.
PHP and MySQL Database. Connecting to MySQL Note: you need to make sure that you have MySQL software properly installed on your computer before you attempt.
Web Database Programming Connecting Database to Web.
XAMPP: Cross – Apache, MySQL, Php, Perl + FileZilla, Tomcat NetBeans: IDE PHP Installation.
Dynamic Web Pages. Web Programming  All our web pages so far have been static pages. 1. We create a web page 2. We upload it to the web server 3. People.
We just made contact with our client in the last few days. She said there is more information coming in the next few days. The only thing she has expressed.
Robofest 2001 Online Management System Jim Needham MCS 4833/01 Senior Project Dr. Chan-Jin Chung, Ph.D.
PHP Scripts HTML Forms Two-tier Software Architecture PHP Tools.
SJSU CS157B Dr. Lee1  2004 Jenny Mitchell Two Useful Tools You Can’t Live Without by Jenny Mitchell SJSU CS157B Section PHP and MySQL.
Application Development Description and exemplification of server-side scripting language for server connection, database selection, execution of SQL queries.
What is MySQL? MySQL is a database. The data in MySQL is stored in database objects called tables. A table is a collections of related data entries and.
PHP1-1 PHP & SQL Xingquan (Hill) Zhu
© Yanbu University College YANBU UNIVERSITY COLLEGE Management Science Department © Yanbu University College Module 6:WEB SERVER AND SERVER SIDE SCRPTING,
1Computer Sciences Department Princess Nourah bint Abdulrahman University.
Create an online booking system (login/registration)
MU Bulletin Board Member: Carol Lim Yi Wang Lei Wen Mentor: John Boyer Programmer/Analyst of MSA/ Student Life.
Lecture 14 – Web Security SFDV3011 – Advanced Web Development 1.
Tutorial 10 Adding Spry Elements and Database Functionality Dreamweaver CS3 Tutorial 101.
INTERNET APPLICATION DEVELOPMENT PRACTICAL ON CONNECTING TO MYSQL.
PHP and MySQL for Client-Server Database Interaction Chapter 10.
Mr. Justin “JET” Turner CSCI 3000 – Fall 2015 CRN Section A – TR 9:30-10:45 CRN – Section B – TR 5:30-6:45.
Module Info Web Application and Development Digital Media Department Unit Credit Value : 4 Essential Learning time : 120 hours
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
Accessing MySQL with PHP IDIA 618 Fall 2014 Bridget M. Blodgett.
Introduction to MySQL Lab no. 10 Advance Database Management System.
PHP MySQL Introduction. MySQL is the most popular open-source database system. What is MySQL? MySQL is a database. The data in MySQL is stored in database.
School of Computing and Information Systems CS 371 Web Application Programming PHP – Forms, Cookies, Sessions and Database.
Web Scripting [PHP] CIS166AE Wednesdays 6:00pm – 9:50pm Rob Loy.
SYST Web Technologies SYST Web Technologies Databases & MySQL.
1. Connecting database from PHP 2. Sending query 3. Fetching data 4. Persistent connections 5. Best practices.
CSC 2720 Building Web Applications Server-side Scripting with PHP.
CISC 3140 (CIS 20.2) Design & Implementation of Software Application II Instructor : M. Meyer Address: Course Page:
Open Source Server Side Scripting ECA 236 Open Source Server Side Scripting PHP & MySQL.
Login to a Database (from a Webpage), Inserting data into a database from a form, getting data from database and display on Webpage Done by: Mashail Alsolamy.
Retrieving data from MySQL using PHP Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan. 1.
Dr. Venton Kepuska Donald L. Troup. Dynamic Web Calendar
MOSS Design Presentation -Senior Project-. MOSS MOSS Server System 1. MOSS Application 2. Server 3. Client SIU-E Code Cop System 1. SIU-E.
Controlling Web Site Access Using Logins CS 320. Basic Approach HTML form a php page that collects the username and password  Sends them to second PHP.
Module Review Basic SQL commands: Create Database, Create Table, Insert and Select 2. Connect an SQL Database to PHP 3. Execute SQL Commands in.
Web Scripting [PHP] CIS166AE Wednesdays 6:00pm – 9:50pm Rob Loy.
DataFlow Diagram – Level 0
Creating a simple database This shows you how to set up a database using PHPMyAdmin (installed with WAMP)
MySQL. Is a SQL (Structured Query Language) database server. Can be accessed using PHP with embedded SQL Queries Supports Large DB’s, 60,000 tables with.
Accessing mySQL relational database. MySQL database.  Today, we will attempt and open a connection to the MySQL server.  We need to specify the database.
PHP: MySQL. PHP Connect to MySQL PHP 5 and later can work with a MySQL database using: – MySQLi extension (the "i" stands for improved) – PDO (PHP Data.
IS2803 Developing Multimedia Applications for Business (Part 2) Lecture 1: Introduction to IS2803 Rob Gleasure
CSC 405: Web Application Engineering II8.1 Web programming using PHP What have we learnt? What have we learnt? Underlying technologies of database supported.
MySQL MySQL and PHP – interacting with a database.
1 PHP HTTP After this lecture, you should be able to know: How to create and process web forms with HTML and PHP. How to create and process web forms with.
Higher Computing Science Coding the Web: HTML, JavaScript, PHP and MySQL.
OBJECTIVES Learn how to view data using SQL and PHP Learn how to add new data using SQL and PHP PHP+SQL: View and Adding,
SQL Injection By Wenonah Abadilla. Topics What is SQL What is SQL Injection Damn Vulnerable Web App SQLI Demo Prepared Statements.
PHP and MySQL Session 4: Advanced PHP Izzy
PHP & MY SQL Instructor: Monireh H. Sayadnavard 1.
Web Systems & Technologies
PHP: MySQL Lecture 14 Kanida Sinmai
Remote hosts and web servers
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
PHP: Login FdSc Module 109 Server side scripting and Database design
Web Design and Development
Introduction to Web programming
PHP Overview PHP: Hypertext Preprocessor Server-Side Scripting
Database Driven Websites
PHP: Security issues FdSc Module 109 Server side scripting and
MySQL Web Application Connecting to a MySQL database
PHP and MySQL.
PHP: Combo box FdSc Module 109 Server side scripting and
Introduction to Web programming
Conection
Presentation transcript:

SEU On-line Sales System Mark Davis Senior BS in Computer Science

Overview Idea behind the SEU On-line Sales System What is my solution? How did I go about implementing my solution. Problems I ran into. Testing Possible enhancements and future ideas. Questions?

Idea Behind the SEU On-line Sales System SEU lacking a unique On-Line Sales System. Implementing a piece of software that caters to a small community of individuals. Other universities…

What is my Solution? Create a web based application that mimics an online message board program. This “ebay” type application will present a way for students to virtually communicate with each other and post items to be bought and sold.

Implementing my Solution Basic foundation  Front end  web application  Back end  database Choosing a language  Perl  PHP  ASP  HTML Choosing a database  Microsoft Access  MySQL What I chose..  PHP, MySQL, & PHPmyAdmin

Implementing my Solution Design  Applications needed  User Friendly  Simple  Maintainability

Become a Member

Connecting to and Insert in the DB Connecting to the DB <?php $sql = mysql_pconnect('db01.cs.stedwards.edu', 'mdavis3', 'weiohg913a'); mysql_select_db('mdavis3', $sql) or die (mysql_error()); ?> Inserting into the DB $sql = mysql_query("INSERT INTO MEMBERS (first_name, last_name, phone_number, _address, user_name, password) VALUES ('$_POST[first_name]', '$_POST[last_name]', '$_POST[phone_number]', '$_POST[ _address]', '$_POST[user_name]', '".md5($_POST[password])."') "); if(!$sql){ echo "Error Inserting Your Information Into DB: ".mysql_error(sql); footer(); exit(); } else { include 'html/success.html'; }

phpMyAdmin

Error Handling for Input

Login

Login Code session_start(); $validate = mysql_query("SELECT * FROM MEMBERS WHERE user_name= '{$_POST['user_name']}' AND password = md5('{$_POST['password']}')"); if(mysql_num_rows($validate) == 1){ while($row = mysql_fetch_assoc($validate)){ $_SESSION['login'] = true; $_SESSION['first_name'] = $row['first_name']; $_SESSION['last_name'] = $row['last_name']; $_SESSION[' _address'] = $row[' _address']; $_SESSION['user_name'] = $row['user_name']; $_SESSION['password'] = $row['password']; myheader("Login Success!"); include 'html/loginsuccess.html'; footer(); } } else { myheader("Login Failed!"); echo ' Login Failed '; echo ' Check Username and Password for Case Sensitivity.'; footer(); }

Posting Items Design methods:  What fields are needed?  How will these fields be used?

Posting Items

Viewing an Item What will the user see? How can an item be purchased? How can an item be removed?

Item View

Image Handing

I Want To Purchase An Item is sent to the seller address. Just wait!

I Want To Remove My Item Unique removal of items Remove query mysql_query("DELETE FROM ITEM WHERE item_name = '{$_POST['item_name']}'") or die(mysql_error());

Problems I Ran Into Uploading and displaying images Starting and destroying sessions Error handling for input forms

Testing Alpha tested modules as they were created Beta testing took place within a group of friends.  LOTS OF CONSTRUCTIVE CRITISISM!  A FEW SCENARIOS NOT ACCOUNTED FOR  A GENERAL FEEL FOR THE SOFTWARE

Possible Enhancements and Future Ideas Display multiple images Implement time stamps for items. Develop a search tool for items. Get the software to the point where it could be presented to the university for possible use.

Conclusion What was my problem? Did I find a solution? Am I satisfied with my solution? What now?

Questions? This concludes my presentation