File: README.logging

package info (click to toggle)
php3 3%3A3.0.18-0potato1.1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 17,736 kB
  • ctags: 11,198
  • sloc: ansic: 108,120; sh: 2,512; php: 2,024; yacc: 1,887; makefile: 1,038; perl: 537; pascal: 238; awk: 90; cpp: 28; sql: 11
file content (19 lines) | stat: -rw-r--r-- 943 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
The files log-header.php3, log-footer.php3, log-db.php3, and log-test.php3
are an example of a logging system that emulates the logging functions in
PHP/FI2.

To use it, define 'logging.method=METHOD' in your php3.ini file, and
include (or auto-append and auto-prepend) the log-header.php3 and
log-footer.php3 files at the head or foot of your pages. The file
'log-METHOD.php3' will be included to figure out what lower-level
functions to use for storing the data.

For log-db.php3, you can also set the logging.directory variable to
specify the root directory to store the logging databases in.

Note that these scripts are provided as an example only, and are not
thoroughly tested. You use them at your own risk. Questions about them
should be directed to the general PHP3 mailing list (php3@lists.php.net).
Nobody has submitted support files for other logging methods (such
as mysql). Mail asking for such support will likely be ignored.