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

Ver mais: work pacific, working cgi, string searching, string match, searching string, say anything want, perl search script, match string, matching string, find file linux, find string file programming, find perl, find people programming, programming perl, wrestling, string matching, s joe, roger, notation, gerald, code ed, bronze, create script windows, create script linux, linux debug

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

ID do Projeto: #3050076

1 freelancer está ofertando em média $43 para este trabalho


See private message.

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