Web Hosting Talk







View Full Version : Need advice


ZeroBrain
02-06-2004, 06:40 AM
I need an advice from more experienced PHP devs

I have MySQL database.
From one side i have Delphi program that need to provide data to MySQL database and from the other side i need to provide data to customers over web with PHP

So my question is quite general. Do you have advice how this could bedone in best way? Do you have experience with such problems


Maybe you think that this question is for Delphi devs, but I want to hear both sides.

Bjarte
02-06-2004, 03:17 PM
I have made a application in delphi, but I used just a standard API or what ever to call the mysql.dll file.

Here is the link to get delphi API .pas file (I think thats the one I used):
http://www.mysql.com/portal/software/item-80.html

Here is some information on mySQL on php:
http://www.php.net/manual/en/ref.mysql.php

Sheps
02-06-2004, 07:12 PM
Why can not just use PHP for the whole thing?

Sep_10
02-08-2004, 03:28 AM
Originally posted by Sheps
Why can not just use PHP for the whole thing?

Agree. This will give your end product some more flexibility and scalability :)

utsn
02-08-2004, 02:39 PM
If you want to connect to mySQL database with Delphi, the simple way is to connect with ADO components on MySQL ODBC DataSource.

You can also check Zeos DB component that works pretty well with Delphi.

I've done a lot of php/delphi programming so If you have any question just mail me at matt(at)utsn.net

Cheers,

and good luck !

Delphi is a great desktop programming language.