1 / 6

Electronic Commerce

MIS 6453 -- Spring 2006. Electronic Commerce. Server-Side Scripting Exercises. Instructor: John Seydel, Ph.D. Agenda. Some review questions Some web page exercises and demonstrations: Server-side includes Form handling with PHP Automated email confirmations

seanna
Download Presentation

Electronic Commerce

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


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

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

  3. Review Questions • Chapter 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

  4. 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

  5. Getting Started • Login 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

  6. 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

More Related