Home « Server software «
Documentation: users/fetch_vcard.php
users/fetch_vcard.php - Fetch the vCard of one user
Export some attributes of the user profile. This script is useful to catch user info in an external system such as a Palm OS or a Pocket PC.Example of data formatted by this script:
BEGIN:VCARD
VERSION:2.1
FN:Foo Bar
N:Bar;Foo
NICKNAME:little_foo
EMAIL;PREF;INTERNET:foo.bar@acme.com
REV:20040922T000712Z
END:VCARD
If following features are enabled, this script will use them:
- compression - using gzip
- cache - supported through ETag and Last-Modified, not mentioning the setting of Content-Length;
Restrictions apply on this page:
- associates are allowed to move forward
- access is restricted ('active' field == 'R'), but the surfer is an authenticated member
- public access is allowed ('active' field == 'Y') and the surfer has been logged
- permission denied is the default
Accept following invocations:
- fetch_vcard.php/12
- fetch_vcard.php?id=12
This script is a reference file of this system.
Licence: GNU Lesser General Public License
Auteurs:
- Bernard Paques bernard.paques@bigfoot.com