README for Midgard library

Copyright (C) 1999 Jukka Zitting <jukka.zitting@iki.fi>
Copyright (C) 2000 The Midgard Project ry
See the end for copying conditions.

This is the base library of the Midgard Application server suite. The
library allows Midgard applications to access the Midgard database
using a set of database-independent functions. The library also does
user authentication and privilege handling.

See http://www.midgard-project.org/ or contact user@midgard-project.org
for more information.

See the INSTALL file for installation instructions.

Function notes as enhancements to the manual.

1) mgd_copy_person (manual reference XV, person)

the function mgd_copy_person yet not implemented may be replaced by a
workaround :
        <? $person=mgd_get_person($id); $newid=$person->create();
           $username="loginname"; $password="shouldbehidden";
           mgd_update_password ( $newid, $username, $password );
        ?>

2) mgd_serve_attachment (manual reference III, serve attachments)

To overcome limitations given by header (see php manuals)
mgd_serve_attachment may be called indirectly over a page e.g.
/attachment A page-element attached to /attachment named code-init
ensures to call mgd_serve_attachment($id) before any other style
element:

<? my_imgsrc( $id) {
  echo "/attachment?id=" . $id; }
?>

<img src="<? my_imgsrc(13); ?>" >
							
----------------------------------------------------------------------
Copyright information:

Copyright (C) 1999 Jukka Zitting <jukka.zitting@iki.fi>
Copyright (C) 2000 The Midgard Project ry

   Permission is granted to anyone to make or distribute verbatim copies
   of this document as received, in any medium, provided that the
   copyright notice and this permission notice are preserved,
   thus giving the recipient permission to redistribute in turn.

   Permission is granted to distribute modified versions
   of this document, or of portions of it,
   under the above conditions, provided also that they
   carry prominent notices stating who last changed them.
^L
Local variables:
version-control: never
mode: indented-text
end:
