pbms_get_md5_digest() is the equivalent of calling pbms_get_metadata_value("PBMS_CHECKSUM_TAG");
Returns the MD5 digest as a string on success.
Returns FALSE on failure. Use pbms_errno() and pbms_error() to retrieve error details.
<?php pbms_connect(); // Fetch a BLOB back, 'name' is a LONGBLOB column. $result =mysql_query("select name from bobtest where id = 1"); $row = mysql_fetch_row($result); /* Get the BLOB metadata only. */ pbms_get_info($row[0]); $val = pbms_get_md5_digest(); printf("MD5 digest: %s", $val ); pbms_close(); ?>