Hi all,
I'm trying to create a display screen using php and the LDAP functions.
I would like to display both the binary data (jpegphoto) as well as the
other non-binary attributes like Name and Title on one page.
I am able to pull and display the jpegphoto attribute using
$data = ldap_get_values_len($connect_id, $entry, "jpegphoto");
header("Content-type: image/jpeg");
echo $data[0];
but, then I can't display regular ASCII info because if the "header"
declaration.
Only thing I can think of, is to somehow store $data out to a file
data.jpg, then use this file as the <img src=data.jpg>. Although, I
can't seem to find a way to do this either.
Any ideas?
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php