From: Graham B. <gb...@po...> - 2000-08-10 17:01:32
|
On Thu, Aug 10, 2000 at 09:39:44AM -0700, Joshua Lavalleur wrote: > Okay I got how to get a picture from the directory server which turned out > to be easy... > > Now I need to figure out how to display it in a web page. I figure I have to > convert the binary stream somehow but I am not sure. > > I tried the following and got a lot of alien characters in my page. > > $content = $entry->get('photo'); > print "<img src=$content>"; the src= needs to be a url, which when that url is requested you get the image from the server and send it back with print $content (+ the appropriate headers) But this is not the place to ask web-based questions. Now you know how to get your content, you would be much better off asking this question to a web mailing list. Graham. |