Jump to content

Absolute N00b to PHP - Please Help


LongyZ

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?

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.