PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 8th, 2000, 12:49 PM
Mirax's Avatar
Mirax Mirax is offline
Senior Member
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Jun 2000
Location: Enschede, The Netherlands
Posts: 1,527 Mirax User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 55 m 57 sec
Reputation Power: 15
Hi,

I've been experimenting with PHP & MySQL-databases for a while now, but now I'm trying to use existing Paradox databases. The problem is I don't know how to connect to it (I read something about ODBC but I don't really get it..)
Can somebody help me with this by telling me how it's done or where I can find instructions how to do it? I'd really appreciate it! :-)

Reply With Quote
  #2  
Old June 8th, 2000, 04:12 PM
ujludwig ujludwig is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Posts: 63 ujludwig User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 14
You need to create an odbc data source on the machine that holds the paradox database. To do that, open up your control panel and click on odbc. Note: you are going to need a odbc driver that allows microsoft to connect to the paradox database. You may have to download this from the paradox vendor.
Once you set up the odbc data source you can access the database from php using the native php odbc functions.
As you do with mysql, you simple specify the database you'd like to access by refrencing the dsn (data source name) that you gave the odbc data souce when you set it up.

Reply With Quote
  #3  
Old June 9th, 2000, 05:21 AM
firepages's Avatar
firepages firepages is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Feb 2000
Location: Perth West Australia
Posts: 757 firepages User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 18 m 32 sec
Reputation Power: 14
Yhe other option is simply to export your tables, paradox is my favourite database for offline work - it also has a variety of export options including Comma seperated files which you can then import into MySQL, you can work with ODBC but this can get complicated so maybe this is an option.


Simon

------------------
Simon Wheeler
FirePages -DHTML/PHP/MySQL

Reply With Quote
  #4  
Old June 9th, 2000, 07:13 AM
Mirax's Avatar
Mirax Mirax is offline
Senior Member
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Jun 2000
Location: Enschede, The Netherlands
Posts: 1,527 Mirax User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 55 m 57 sec
Reputation Power: 15
Thanx both! I'll try these options. If I import the databases to MySQL, is there a simple way to export them back to a Paradox database?

Jeroen

Reply With Quote
  #5  
Old June 9th, 2000, 08:41 PM
StephenH StephenH is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Posts: 1 StephenH User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
How to read the file into the machine to export again? I don't have paradox and when I try it to import it with Access it says, "External table is not in expected format." Need some help. This the db file that is generated from MP3 Database, and according to the author it is a paradox db.

-S

Reply With Quote
  #6  
Old June 10th, 2000, 03:29 AM
firepages's Avatar
firepages firepages is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Feb 2000
Location: Perth West Australia
Posts: 757 firepages User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 18 m 32 sec
Reputation Power: 14
Stephen -try importing the db file as a Dbase file in access - if this does not work - create a table in an access mdb and try the import table structure/data options - paradox tables can be locked or password protected maybe this is the problem - also Corel Paradox8 tables differ from older Borland tables. -if all else fails zip/mail it and I will convert it for you.

simon@www.firepages.com.au

Mirax - Paradox can import comma seperated files as well - a table dump from MySQL can be formatted this way

------------------
Simon Wheeler
FirePages -DHTML/PHP/MySQL

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPHP Development > PHP & Paradox databases??

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap