Page 1 of 1

A rare beast: Paradox database user (with issues)

PostPosted: 07. July 2009 16:44
by jillelaine
I installed XAMPP 1.7.1 on Windows XP, and it works.

I am very thankful it comes with pxlib.dll (v 0.6.3) and also php_paradox.dll (version 5.2.4.4) as I need to regularly import data from a Paradox database into MySQL.
-------------------
PHPINFO
PHP Version 5.2.9
paradox
Paradox support enabled
pxlib Version 0.6.3
support for recoding record data iconv
pxlib was build on no value
Revision $Revision: 1.37 $
--------------------
I followed the examples included with XAMPP for the Paradox module.
The examples which use:
"$pxdoc = px_new();" (not Object oriented) work well
But examples "$pxdoc = new paradox_db();" (Object oriented) do not

Error: "Fatal error: Call to undefined method paradox_db::retrieve_record()"

I must read and convert paradox timestamps, but am unable to make it work correctly.
I read this:
http://pxlib.sourceforge.net/documentat ... amp2string
but it's still broken.

I searched the forums and found this related post:
viewtopic.php?f=26&t=29216&hilit=paradox

I also tried px_retrieve_record():
"Fatal error: Call to undefined function px_retrieve_record()"

I read the PHP manual here:
http://us2.php.net/manual/en/book.paradox.php
and also the manual on pxlib on sourceforge.

I see that there is a newer version of pxlib 0.6.4 which says that it fixes a problem with px_timestamp2string?
If I had pxlib.dll version 0.6.4 would that fix my problem?

Any other suggestions? Is there a reliable way I could convert Paradox timestamps which start at 0000/1/1?