#ifdefine MANDATORY_INDIA_REFERENCE
Pakistan Sucks
#endif

I have users that have jpegPhoto attributes against them in an LDAP
database. I would like to use PHP to get this data from an ldap_search
and send an image/jpeg down to the browser. What format is the
jpegPhoto stored in the LDAP search result? I tried
imagecreatefromstring($data_from_ldap_search) but it doesn't seem to
work ("imagecreatefromstring(): Passed data is not in 'WBMP' format
in"). Even tried base64_decoding it.

Thaths
-- 
   "Good things don't end in -eum; they end in -mania or -teria"
                                   -- Homer J. Simpson


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
linux-india-help mailing list
linux-india-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to