Introduction   Getting Started   Upgrading   Function Reference   Changelog   Support and Feedback

get_photo

Usage: string get_photo ([int memberid])
Purpose: Returns a member's photo.
Availability: IPB SDK 0.5

Returns memberid's photograph. If memberid is not specified, the photograph for the currently logged in user will be displayed.

If member memberid does not exist, or does not have a photograph FALSE will be returned.

// Display Current User's Photo
echo $SDK->get_photo();

// Display User 7's Photo
echo $SDK->get_photo("7");
See Also: update_photo


User Contributed Notes

There are currently no user contributed notes for this page.

Documentation Generated at Sat, 16 Apr 2005 07:36:35 -0700
Find the latest version at http://ipbsdk.sourceforge.net