Jump to content

Recommended Posts

Hey, I have never used PHP before and I just want to know if the following is possible:

 

I am creating a DBMS in Actionscript, but Actionscript only supports the maniplulation of .db database files. So I want to know if it's possible to use PHP to access a MS Access Database that is stored locally i.e I will supply a copy of the database with the program, and convert this to a .db file, or to save all the table data in a text file which I can then open with AS and turn into a .db file.

 

Basically, is it possible to create a .MDB (ms access DB) to .db converter using PHP, if not does anyone know a way to do this?

 

Sorry if anything I said is ridiculously stupid...

Link to comment
https://forums.phpfreaks.com/topic/142602-absolute-n00b-to-php-please-help/
Share on other sites

Yes you can read an acces file with php.

But why would you want to build a dbms in actionscript. if it is going to be a desktop application why not just simply use java c# c++ or flash just doesn't seem that suitable for it

you can use the odbc_* functions

http://www.w3schools.com/PHP/php_db_odbc.asp

I am not sure if this comes standard with PHP since I try to avoid using access. But you'll just have to try.

Also you'll need a webserver like IIS or apache.

One more thing what exactly is the .db format. Just because it has a .db behind the filename it could be anything. Is it Sqlite maybe?

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.