How to read FoxPro Memo with PHP?

Posted by sHiRoKKo on Stack Overflow See other posts from Stack Overflow or by sHiRoKKo
Published on 2009-12-22T16:10:04Z Indexed on 2010/06/09 3:52 UTC
Read the original article Hit count: 454

Filed under:
|
|
|

I have to convert .DBF and .FPT files from Visual FoxPro to MySQL. Right now my script works for .DBF files, it opens and reads them with dbase_open() and dbase_get_record_with_names() and then executes the MySQL INSERT commands.

However, some fields of these .DBF files are of type MEMO and therefore stored in a separate files ending in .FPT. How do I read this file?

I have found the specifications of this filetype in MSDN, but I don't know how I can read this file byte-wise with PHP (also, I would really prefer a simplier solution).

Any ideas?

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql