| ★ wanayoo — archive 1999 http://getscript.com/database/index.html | Nouvelle recherche | Portail wanayoo |
![]() Support Our Sponsor! Company Menu CGI/Perl Scripts CGI Installation & Customization Tech Forums Message Board Hosting Service Freebie Scripts Tutorials Other Services CGI / Perl Bookstore ![]() [Click on Book] |
![]() [Home] [Company] [Hosting] [Scripts] [Support] [Forums] [Purchase] [Freebies] [Tutorials] [Services] [Advertising] Last Updated: Friday, 21-Jul-2000 14:22:50 EDT Many sites would like to incorporate databases, such as address books, product catalogs, reference databases and such into their pages. More than likely you've been seeing prices of $600.00 or more for online database programs that are too cumbersome and technical to use. We have a script that is easy to install and works with comma delimited text formatted databases. Our Address Book script was designed specifically for use with thePro CD's Select Phone database export function but works with any popular database or spreadsheet exporting function supporting semi-colon delimited text exporting. You should have previous experience in installing CGI scripts on your server. If you do not, you will most likely not be able to install this one. You should be able to FTP files and change the permissions of your files. You should also be familiar with the use of <FORM> tags and other common HTML elements.
Estimated Installation Time: 15-30 Minutes Step 2 - Address Book Database Format If you are using Pro CD's Select Phone, this should be simple. Using the CD's export function, the formatting of the address book file is complete. But if you are putting your own database online, you'll need to make sure it's comma-delimited formatted as follows: "name","address","city","state","zip","phone","other" "Anchor Point","","Anchor Point","AK","99556","" "Alaska Journal","","Anchorage","AK","99599","" "Bank Of Commerce","PO Box","Anchorage","AK","" "Anchorage Chamber Of Commerce","441 W 5th Ave","" The following fields are to be included in the comma-delimited format:
Step 3 - Modifications To database.cfg The address book database's physical path on your server
The HTML <BODY> formatting including BACKGROUND and COLOR
The title line of the search and results screen and/or logo image placement using HTML <IMG SRC= /old?u=http%3A%2F%2Fgetscript.com%2Fdatabase%2Fformatting.%3C%2FFONT&y=1999>
HTML formatted page footing. Recommended uses are return link formatting, image map menu bar placement, copyright/
disclaimer notes. When in doublt, use what you are currently placing at the bottom of your web site pages.
The below illustrates the use of using an image maps menu graphics.
The OTHER field type: 1=email 2=webpage 3=searchfield 4=comments 5=blank
The OTHER field is automatically HTML formatted to be linked if email or
webpage url (1 or 2). If searchable field (3), will use the results from
the <INPUT TYPE=RADIO NAME="OTHER" VALUE="criteria"> form. If left
blank (5), there's no special formatting or display.
Step 4 - Install (FTP) The Scripts
It's now time to place the 3 files online. Be sure that the database.pl and database.cfg reside in the same directory.
The database file is referenced in the $database variable in the database.cfg file so the location of the database may be
other than the script.
Be sure you chmod a+x database.pl and chmod a+r database.cfg file. Also you should make sure that the
database is world readable.
Step 5 - The Database Form
You can link directly to the database script without putting <FORM> tags on your page. You'll receive a generic entry form by linking directly to the script.
NOTE: If you're using the "OTHER" field you can add a <INPUT TYPE=TEXT NAME=OTHER> field to the <FORM>
You may want to customize the form and place it on your page. By doing so, you can limit the search criteria your viewers enter.
<FORM> fields used should follow the following format:
It's recommended that if you have a large database, that you not use the STATE field as a searchable field or the results returned might be too large.
(DBasics Software's ICQ# 4652929)
DBasics Software Company P.O. Box 986, Sunrise Beach, MO. 65079 | |||||||||||||