Program's configuration/MySQL queries (unicode utf8!!!)
Imortant note: all files of the program use utf8 encoding. To prevend therefore damage you should use an unicode compatible editor like notepad++ or the crimsoneditor both also with syntax highlighting. The default Notepad Editor in Windows is only a crutch (File ends has to be UNIX). Wordpad instead is capable to read utf8 files and the file ends correct. In contrast to Linux Windows unfortunately doesn't bother about using unicode at all by default in general. Because their interest is only in their own products which are desingned not to cooporate with humanity without the idea of profit.
Configurations
Sets all necessary configurations for database and program settings: popup, image defaults colornames...
Base URL of the key
Default "http://localhost/chip/".
Colors' declaration for {color name}
This tries to illustrate different colors given in descriptions and to use them rather esyly with e.g.
Database name
Change this if you want to run different versions of the database. Default "chirokey_larvae". Important: if a database was renamed via phpmyadmin it's the case that in table `names_authors` for entry 'No reference given' ID=0 was altered to any other ID from the auto increment function for ID. You must restore this to 'No reference given' with ID=0 otherwise only images with a given descriptor name will be shown in the key (i.e. no NULL entries).
MySQL password for the database
Change this if you want to run with another password but you have to alter settings for MySQL as well. Default "chiroproject". Note when you change this you have to change it for the MySQL database with phpmyadmin as well!
Server setting (host name)
Default "localhost".
MySQL user for the database
Change this if you want to run from a different user. Default "chiro_user".
Some debug information (for developers)
Information about queries and time consumation of the PHP parser. Values: true or false. Is stored in a $_SESSION
Directory of taxa
Default "imglarvae/". Note: directories can be renamed and being set here, but the directory-level structure should not be changed. If you renamed species directory please update table characters in the database with this query:
Font for reference in pictures
Allowed (maximal) file size in kB
Allowed (maximal) width or height of images
Default angle in transparency text images
Used for table headings.
Allowed mime-types of images
Note: this has to correspond with fileWriteDelete::writeReference(). For each image mime type a handling procedure in fileWriteDelete::writeReference() has to be defined.
Language characters (eg. for menu in popup.php)
Is an array with languages. Use international URL code extension used also in the internet: 'de', 'ru', 'us' and so on.
Default language characters (eg. for menu in popup.php)
See the PHP array key in configuration variable $config['languages']['keys'].
Europe language characters (eg. for menu in popup.php)
Language characters keys (eg. for menu in popup.php)
I recommend to use international abbreviations such as 'ru', 'cn', 'eu' and so on. If you want to add a new character set, add a new unique 'mykey' => 'My peculiar characters' and use 'mykey' to define a new character set with spaced characters like
Russian language characters (eg. for menu in popup.php)
Symbol characters (eg. for menu in popup.php)
Important: you need also unicode compatible browsers to display the characters properly. If you see only boxes instead of characters use unicode fonts or another browser. I tested once Internet Explorer 6 but there was no proper display possible. With Opera everything was fine (on Linux).
n-characters of comments
Not used now. 2009-06-30 03:43:34. Suggested use in select options to shorten too long strings.
Path to phpmyadmin
Depending on PHP version > 5.2 use then phpmyadmin3 otherwise phpmyadmin2-11-4. Note that PHP 5.2 and phpmyadmin2-11-4 won't work together and PHP < 5.2 does not work with phpmyadmin3.
Settings for popup window with text area (editing texts)
Default width 800 (px) height 600
Key directory of the program
Default "key/". This folder contains all necessary files for the key. Note: directories can be renamed and being set here, but the directory-level structure should not be changed.
Server root directory for the key
Default "chip/larvae/". Note: directories can be renamed and being set here, but the directory-level structure should not be changed.
MySQL's inserts
MySQL Queries
Different queries used to connect to the database. If something is wrong or queries are too slow you can analyse manually MySQL's behavior by
Query table names_synonyms gernera + #species
Query table names_genera gernera + ID
Query valid gernera + subfamily
It fetches only valid genera names, not all genera from table names_genera. Note that `names_valid`.`id` is needed in context of Genus sp. not `names_valid`.`genus_name_id`!
Fetch characters of Genus sp.
Fetch for select list for specimens
Fetch bitlength of additional data for page specimen
Fetch characters for a single specimen
MySQL queries to compose synonyms
It uses the variable $addMySQL to add for instance
Show data in table characters
MySQL's updates
For altering the database.
Documentation generated on Mon, 14 Dec 2009 14:37:05 +0100 by phpDocumentor 1.4.2