DBM Databases Please use speaker notes for additional information!

Slides:



Advertisements
Similar presentations
How to Create a Local Collection
Advertisements

To print your results, click on the printer icon. Choose from the printing options suggested. You can choose to remove items from folder after printing.
How to make Parent Bookings Welcome to PTO (P arent T eacher O nline ) To exit this slideshow at any time, press ESC on your keyboard.
JCPS – Computer Education Support: February 25, 2011 How to access and navigate the Infinite Campus Portal This presentation is a demonstration of the.
SMART WEB USER GUIDE Log-in and Password Directory Search Sending Pages Changing Pager Status Assigning Pager Coverage, Referral, and Page Block Reviewing.
– Officiating Management Software
Accessing and Using the e-Book Collection from EBSCOhost ® When an arrow appears, click to proceed to the next slide at your own pace. To go back, click.
Here we will discuss more advanced options you have with the YourNameBadges.com website This presentation of 35 slides will advance automatically. You.
Accounts Payable–1099 Processing 1Freedom Systems – Accounts Payable – 1099 Processing WELCOME TO THE ACCOUNTS PAYABLE – 1099 PROCESSING WEBINAR WE WILL.
Username1 ********* To Sign In, enter your pre-assigned Key Customer User Name and Password in the appropriate fields and click ‘Sign In’. Welcome to the.
Library Online Catalog Tutorial Pentagon Library Last Updated March 2008.
This demonstration will help you understand and perform (Internet Explorer Users: Click Browse, then Full Screen, to enlarge your view of this presentation.)
Crew Maintenance on Vendor Web. My Resources Crew maintenance is an integral part of many vendors’ business operations Safeguard Properties’ Vendor Web.
Realtime Equipment Database F.R.E.D. stands for Fastline’s Realtime Equipment Database. F.R.E.D. will allow you to list all your inventory online. F.R.E.D.
Here is a list of citations the database retrieved for us. To find out more about an article, click on the “complete reference” link.
CGI Programming: Part 1. What is CGI? CGI = Common Gateway Interface Provides a standardized way for web browsers to: –Call programs on a server. –Pass.
Travel Advance and Expense Reimbursement Forms
Perl/cgi and an Access Database Please use speaker notes for additional information!
Faculty Manager An ACEware Webinar. In this webinar... Adding and Maintaining a Faculty Record Faculty Mgr Preferences & UDF’s Storing a faculty resume.
This demonstration will help you understand and perform (Internet Explorer Users: Click Browse, then Full Screen, to enlarge your view of this presentation.)
Employer Website MASTER STATIC SAMPLES Last Updated: 9/14/09.
1 State-Adopted Textbook Requests Procedures and Policies.
CGI and Perl - Basics Please use speaker notes for additional information!
Perl Web Page – Just Enough Pepper. Web site Set up the top of your script to indicate perl and plain text #!/usr/bin/perl print "Content-type:text/plain\n\n";
Building PERL Scripts on a Windows system* *and running those scripts on an Apache server!
Activating Clarity  Activating Clarity  Activation  Online Activation  Fax Activation  Review and Verify Activation and License Terms  Updating.
Collection of Assessment Results
Data files using cgi/perl Please use speaker notes for additional information!
1. CLICK “CONTACTS” (BOTTOM LEFT CORNER OF SCREEN) 2. SELECT “NEW CONTACT GROUP”
Mail with Perl/CGI Please use speaker notes for additional information!
Information Technology eBook Website First Day of Class Registration Walkthrough.
9 1 DBM Databases CGI/Perl Programming By Diane Zak.
Welcome to SciTech ePlanner Planning your Grades 7 & 8 Science & Technology program just got easier…
Program for Students with Disabilities – Management System (PSDMS) Transferring a student into your school Training Demonstration Student Wellbeing Branch.
1 Basic Perl CGI Programming. 2 Issues How and when your program is invoked. Generating Response –HTTP Headers –HTML (or whatever document type you want)
Allows users to create a My Voter Account Return and make changes later Quickly generate a FWAB form if necessary Find Answers menu provides up-to-date.
7 1 User-Defined Functions CGI/Perl Programming By Diane Zak.
CourseWhere Guide for Instructors. To View, Print and Update Attendance and Grades Log on to CourseWhere using your ID and password Link to CourseWhere:
Functions Please use speaker notes for additional information!
Medical Record tab. New look and feel to viewer. New document tree. New navigation buttons. Record view options.
1 / 61 Using the Customer Support Web Site © 2006, Universal Tax Systems, Inc. All Rights Reserved. Customer Support Site Objectives –In this chapter you.
Sending data, forms and variables Please use speaker notes for additional information!
The Homepage My Campaign is where you can track your contacts information.
Two Forms Please use speaker notes for additional information!
We now will look at options for saving searches in CINAHL. We have accessed the Results for Chloroquine AND Pyrimethamine AND Sulfadoxine search. We now.
IF statements - selection Please use speaker notes for additional information!
Setting up google Adsense Account Please follow the instructions given in the slides to set up the google adsense account Please follow the instructions.
Computer Information Technology. I need you to submit your project electronically to the Hancock website. Before you can submit your project you will.
 2001 Prentice Hall, Inc. All rights reserved. Chapter 7 - Introduction to Common Gateway Interface (CGI) Outline 7.1Introduction 7.2A Simple HTTP Transaction.
Officiating Management Software Presentation for OHSAA Officials.
To pay fees online, key the shown address into your internet browser. Once website for eSchool Payments has loaded, press the Proceed to Registration arrow.
How to Complete FAFSA (Free Application for Federal Student Aid)
Complete Ordering System for Promotional Literature and Samples Quick Reference and Training Guide.
Subroutines (PrArith, Math,projCP1, PrAdrProc, PrAdrProcFunc) Please use speaker notes for additional information!
NIMAC for Accessible Media Producers: February 2013 NIMAC 2.0 for AMPs.
QUIZ MODULE. You can Add the quiz title or heading Select the to and form date for the quiz Description of quiz Prize being offered – If you have any.
Company LOGO Sage CRM – Marketing Sage CRM 7.3 provides a new integration with MailChimp for marketing campaigns. In this.
Sending data with CGI/Perl Please use speaker notes for additional information!
Instant Enrollment Tutorial Updated March 21, 2012.
Web-RMA Quick Start Guide
Chapter 7 - Introduction to Common Gateway Interface (CGI)
An authorized user can make payments on your account by logging on with their own username and password. Click on the Authorized Users tab to add an authorized.
CS120 The Information Era TOPICS: CGI-Scripts 4/18/05
View Address Page Helpful Hints
Home page of My Experience
To see this in Salary Increase Modeling ...click here.
Volunteer & Teacher Online Registration
How to use Video s and the Lead/Prospects Report
Go to the page Set here the address for receiving the s sent to the mailing lists to which you are subscribing.
NSVFA Membership Renewal
Presentation transcript:

DBM Databases Please use speaker notes for additional information!

Click here.

Make any changes you want. Click here.

Click here to retrieve the information.

Click here.

Click here

Click here.

BCC Students BCC Student List The CIS Department is publishing a newsletter to keep students up-to-date with changes that are being made. This page will give you the opportunity to sign up for the newsletter or remove your name from the newsletter list. Student Name: Student Major: Student Option: address:

#!/usr/bin/perl #bccstudents1.cgi - add and remove names from CIS mailing list print "Content-type: text/html\n\n"; use CGI::Carp qw(fatalsToBrowser); use CGI qw(:standard); use SDBM_File; use Fcntl; use strict; #declare variables my ($button, $name, $major, $option, $ ); #assign values to variables $button = param('button'); $name = param('stuname'); $major = param('major'); $option = param('option'); $ = param(' '); if ($button eq "Add me to the CIS Mailing List") { add(); } elsif ($button eq "Remove me from the CIS Mailing List") { remove(); } elsif ($button eq "View my information") { view() } exit; #*****user-defined functions***** The functions add(), remove() and view() are shown on the next few pages.

sub view { #declare variable my %mail; #open database, view record, close database tie(%mail, "SDBM_File", "cislist", O_RDONLY, 0666) or die "Error opening cislist. $!, stopped"; ($name, $major, $option) = split(/,/, $mail{$ }); if (exists($mail{$ })) { untie(%mail); #create Web page print " \n"; print " CIS Newsletter Mailing List \n"; print " \n"; print "Student Name: \n"; print "Student Major: \n"; print "Student Option: \n"; print " address: \n"; print " \n"; print " OR...Click here to return to main page \n"; print " \n"; } else { untie(%mail); #create Web page print " \n"; print " CIS Newsletter Mailing List \n"; print "Record does not exist. \n"; print " Click here to return to main page \n"; print " \n"; } } #endview This is the code that opens the database. Note that I am opening in as readonly. I then take the record that the key located and split it into the appropriate fields so I can display them on the screen.

sub add { #declare variable my %mail; #open database, add record, close database tie(%mail, "SDBM_File", "cislist", O_CREAT|O_RDWR, 0666) or die "Error opening cislist. $!, stopped"; $mail{$ } = "$name,$major,$option"; untie(%mail); #create Web page print " \n"; print " CIS Newsletter Mailing List \n"; print "You are on our list to receive your newsletter at $ . \n"; print " Click here to return to main page \n"; print " \n"; } #end add

sub remove { #declare variables my (%mail, $msg); #open database tie(%mail, "SDBM_File", "cislist", O_RDWR, 0) or die "Error opening cislist. $!, stopped"; #determine if user's information is in the database if (exists($mail{$ })) { delete($mail{$ }); $msg = "Mail will not be sent to $ "; } else { $msg = "Our mailing list does not include $ ."; } #close database untie(%mail); #create Web page print " \n"; print " CIS Newsletter Mailing List \n"; print "$msg \n"; print " Click here to return to main page \n"; print " \n"; } #end remove

#!/usr/bin/perl #bccstudents1a.cgi - change names from CIS mailing list print "Content-type: text/html\n\n"; use CGI::Carp qw(fatalsToBrowser); use CGI qw(:standard); use SDBM_File; use Fcntl; use strict; #declare variables my ($button, $name, $major, $option, $ ); #assign values to variables $button = param('button'); $name = param('stuname'); $major = param('major'); $option = param('option'); $ = param(' '); if ($button eq "Update Mailing List") { change(); } exit; #*****user-defined functions*****

sub change { #declare variable my %mail; #open database, add record, close database tie(%mail, "SDBM_File", "cislist", O_CREAT|O_RDWR, 0666) or die "Error opening cislist. $!, stopped"; $mail{$ } = "$name,$major,$option"; untie(%mail); #create Web page print " \n"; print " CIS Newsletter Mailing List \n"; print "The information has been changed. \n"; print "Name: $name \n"; print "Major: $major \n"; print "Option: $option \n"; print " $ \n"; print " Click here to return to main page \n"; print " \n"; } #end change