LongyZ Posted January 27, 2009 Share Posted January 27, 2009 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... Quote Link to comment https://forums.phpfreaks.com/topic/142602-absolute-n00b-to-php-please-help/ Share on other sites More sharing options...
RichardRotterdam Posted January 27, 2009 Share Posted January 27, 2009 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 Quote Link to comment https://forums.phpfreaks.com/topic/142602-absolute-n00b-to-php-please-help/#findComment-747441 Share on other sites More sharing options...
LongyZ Posted January 27, 2009 Author Share Posted January 27, 2009 Could you maybe point me in the direction of some tutorials on how to do this? Can PHP create .db files? I'm using action script in Flex not in flash, and I plan to deploy the application in AIR. thanks for the reply Quote Link to comment https://forums.phpfreaks.com/topic/142602-absolute-n00b-to-php-please-help/#findComment-747446 Share on other sites More sharing options...
RichardRotterdam Posted January 27, 2009 Share Posted January 27, 2009 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? Quote Link to comment https://forums.phpfreaks.com/topic/142602-absolute-n00b-to-php-please-help/#findComment-747458 Share on other sites More sharing options...
LongyZ Posted January 28, 2009 Author Share Posted January 28, 2009 bump. Quote Link to comment https://forums.phpfreaks.com/topic/142602-absolute-n00b-to-php-please-help/#findComment-748296 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.