openldap/contrib/php3-tool
2000-05-13 02:38:13 +00:00
..
images
include Updated some stuff on php3-tool 1998-11-28 11:57:38 +00:00
javascript
at.conf Updated some stuff on php3-tool 1998-11-28 11:57:38 +00:00
at.conf2
COPYRIGHT copyright changes for php3-tool (added 1999 and 2000) 2000-01-03 12:28:05 +00:00
false.gif
index.php3 copyright changes for php3-tool (added 1999 and 2000) 2000-01-03 12:28:05 +00:00
ldap-photo.php3
LICENSE Backout inappropriate copyright changes 2000-05-13 02:38:13 +00:00
Makefile
php3tool.conf Added php3tool.conf. The beginnings of a great era... 1998-11-28 11:59:08 +00:00
README
style.css
true.gif

This is the first version of this README
php3-tool v0.2gamma
This package has been tested and run with apache/php3 and OpenLDAP 1.1-devel
Look at the php3tool.conf (no need to at present) . The file format is  exactly
the same as CSS1/2. No particular reason, just that I like it..
So you have something like:
PATH {
	attributes: "at.conf";
	photo: "ldap-photo.php3";
}

Section PATH, which has following attribute-value pairs:
attributes: "at.conf"
this pair defines where the schema stuff is.
photo: "ldap-photo.php3";
this pair defines which script to use to fetch and convert photos for an entry.

Also look at the at.conf (where all your schema stuff is). Format of at.conf is like follows:
string,Human Readable Representation,VISIBLE
So, for example
homephone,Home Telephone Number,TRUE
will _show_ anyone's home phone if it is present and will display it as "Home Telephone Number". I think the rest is self-explanatory.

I really couldn't think of anything else to put here (at the moment that is). But please feel free to add whatever else you consider neccessary to understanding how this thing works. Enjoy, and I hope this can be useful to you in some miniscule way.

Pele

p.s. do _NOT_ forget to add this to your /etc/httpd/conf/srm.conf (or wherever your put it):
DorectoryIndex .... index.php3 ...