6
Electronic Commerce Server-Side Scripting Exercises MIS 6453 -- Spring 2006 Instructor: John Seydel, Ph.D.

Electronic Commerce Server-Side Scripting Exercises MIS 6453 -- Spring 2006 Instructor: John Seydel, Ph.D

Embed Size (px)

Citation preview

Page 1: Electronic Commerce Server-Side Scripting Exercises MIS 6453 -- Spring 2006 Instructor: John Seydel, Ph.D

Electronic Commerce

Server-Side Scripting Exercises

MIS 6453 -- Spring 2006

Instructor: John Seydel, Ph.D.

Page 2: Electronic Commerce Server-Side Scripting Exercises MIS 6453 -- Spring 2006 Instructor: John Seydel, Ph.D

Agenda

Some review questionsSome web page exercises and demonstrations: Server-side includes Form handling with PHP Automated email confirmations Mass mailing from a database

Page 3: Electronic Commerce Server-Side Scripting Exercises MIS 6453 -- Spring 2006 Instructor: John Seydel, Ph.D

Review QuestionsChapter 8 Question 3 – web servers Question 4 – desktop vs. server

Chapter 9 Question 4 – basic vs. midrange ecommerce

software Question 6 – KM software

Chapter 10 Question 1 -- cookies Question 2 -- steganography

Chapter 11 Question 3 – PayPal and other epayment systems Question 6 – smart cards

Page 4: Electronic Commerce Server-Side Scripting Exercises MIS 6453 -- Spring 2006 Instructor: John Seydel, Ph.D

PHP Exercises: FKAuto Application

FKAuto customer interface (demonstration) Sign-in form Personalized welcome/registration page Registration confirmation page

Confirms registration Sends email confirmation

FKAuto intranet application (demonstration) eMail message form Message confirmation page

Confirms sending of message Lists recipients (from customer database) Displays message Sends email message to listed customers

Page 5: Electronic Commerce Server-Side Scripting Exercises MIS 6453 -- Spring 2006 Instructor: John Seydel, Ph.D

Getting StartedLogin to your computer as follows:

UserID = peachtree Password = accounting Domain = BU201 . . . (this computer)

Start the following Internet Explorer (open your SuSE1 site) SmartFTP (view server in one window and My Documents in

other) NotePad

Note the following files in /public_html (copy them to your local machine, e.g., My Documents)

banner_fki.jpg fkauto_0.html fkauto_1.html fkauto_2.php fkauto_3.php fkauto_4.php footer.txt

Page 6: Electronic Commerce Server-Side Scripting Exercises MIS 6453 -- Spring 2006 Instructor: John Seydel, Ph.D

Exercises (Refer to Handouts)Convert fkauto_0.html to PHP file

Save with new extension (.php) Replace footer code with call to include file Save, upload to server, and test

Convert fkauto_1.html to PHP file Save with new extension (.php) Get form data Change value in txtName to PHP scriptlet Add call to include file Save, upload to server, and test

Modify fkauto_2.php to make it functional Replace “*****” with correct code Remove comment markers (“//”) as you go Save, upload to server, and test

Modify fkauto_4.php to make it functional Replace “*****” with correct code Remove comment markers (“//”) as you go Save, upload to server, and test