ZenphotoThe simpler media website CMS
function returnOwner() {
global $_zp_current_album;
$owner = $_zp_current_album->getOwner();
return $owner;
}
`
Now how can I get the email address?
I found something with $userobj->getEmail() but having difficulties creating the userobj.
Comments
Btw, you might want to sanitize the POST value for your own security....
Note that there is no guarantee that such owner actually exists, so you may bet back `NULL`.
ZP rocks!