Retrieving string-encoded binary data from MongoDB in PHP -


i have stored binary data in mongodb string. how can retrieve php?

this article describes how in perl, how can manage in php?

the following doesn't work:

$query = array('md5' => "00<Χtcwdrc"); $cursor = $collection->find($query); 

according documentaion:

to access contents of mongobindata, use bin field.

$obj['fieldname']->bin 

Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

css - Text drops down with smaller window -