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

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

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -