Perl/CGI Script

Details: In this assignment, you will create a CGI script that will search through a file of California Certificated wrestling coaches. The file, which you must use exactly as it is, is named coachlist.txt.

The program will use the form attached below to search through a file of California Certificated coaches.

## Deliverables


1) Complete and fully-functional working program

Program Requirements and Hints

If all the checkboxes are empty, you must return an error telling the client to select at least one checkbox.

If the first name, last name, or city name is left empty, that is presumed to be the same as ?all values?. For example, if you enter Joe in the first name field, it will find all people in all cities whose first name contains the word Joe.

The last name, first name, and city searches are case-insensitive, and will match if they are found anywhere in the string. Thus, searching for Ger in the first name field will match Gerald, Geraldine, and Roger.

The results of the checkboxes are ?or?ed together. In mathematical notation, you are doing a search for:

Last name AND First name AND City AND ( copper OR silver OR bronze )Note: that is the mathematical notation; your code will probably not do the test in one line! At least, not if you want to be able to debug it easily, it won?t.

Your results must be returned in the form of a table, appropriately titled. The entries must be sorted by last name, which makes your programming a lot easier, since that?s how the original file is sorted. You must also say how many matching records were found. You may show just a set of table headings if there are no matching entries. (It?s ugly to do this, but making it work nicely doesn?t involve anything special about CGI, so I'll let you do it.)

## Platform

Windows or Linux

Habilidades: Engenharia, MySQL, Perl, PHP, Arquitetura de software, Teste de Software

Veja mais: work in the pacific, working for cgi, string searching in c, string searching, string matching in c, string match, searching a string in c, searching a string, say anything you want, programming in perl, perl search script, match string, matching string, how to find a file in linux, how to find 8.4 in c programming code, find string in file c programming, find perl, find people to do programming, find a string in a file c programming, programming perl, Wrestling, string matching, s joe, roger, notation

Acerca do Empregador:
( 0 comentários ) United States

ID do Projeto: #3050076

1 freelancer está oferecendo em média $43 para esse trabalho


See private message.

$42.5 USD em 1 dia
(6 Comentários)