2
Reading a simple paradox database with a graphic field
4
<?php if (!extension_loaded("paradox")) print "skip"; ?>
10
$dirname = dirname($_SERVER["SCRIPT_FILENAME"]);
12
$fp = fopen($dirname."/picture.db", "r");
13
px_open_fp($pxdoc, $fp);
14
px_set_blob_file($pxdoc, $dirname."/picture.mb");
15
for($i=0; $i<px_numrecords($pxdoc); $i++) {
16
$data = px_get_record($pxdoc, $i, PX_KEYTOLOWER);
17
echo md5($data["picture"])."\n";
24
1187c3b0365cdba557503607bde26a04