openldap/contrib/php3-tool
1998-11-28 11:59:08 +00:00
..
images Initial revision 1998-10-27 18:11:59 +00:00
include Updated some stuff on php3-tool 1998-11-28 11:57:38 +00:00
javascript Initial revision 1998-10-27 18:11:59 +00:00
at.conf Updated some stuff on php3-tool 1998-11-28 11:57:38 +00:00
at.conf2 Initial revision 1998-10-27 18:11:59 +00:00
COPYRIGHT Initial revision 1998-10-27 18:11:59 +00:00
false.gif Initial revision 1998-10-27 18:11:59 +00:00
index.php3 Update to my little php3-tool thingy - config file parsing. 1998-11-21 20:33:20 +00:00
ldap-photo.php3 Initial revision 1998-10-27 18:11:59 +00:00
LICENSE Initial revision 1998-10-27 18:11:59 +00:00
Makefile Initial revision 1998-10-27 18:11:59 +00:00
php3tool.conf Added php3tool.conf. The beginnings of a great era... 1998-11-28 11:59:08 +00:00
README Update to my little php3-tool thingy - config file parsing. 1998-11-21 20:33:20 +00:00
style.css Added style.css for php3-tool. I really don't know why it wasn't in the repository before.... 1998-11-28 11:54:48 +00:00
true.gif Initial revision 1998-10-27 18:11:59 +00:00

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 ...