PHPDB - Flatfile Database Manager

Results 1 to 3 of 3
  1. #1
    Dirty capitalists. X1M! is offline
    MemberRank
    Dec 2008 Join Date
    450Posts

    PHPDB - Flatfile Database Manager

    Yet again my passion for Flatfile has brought me up on a project, one that I have put much work in, so I present to you, PHPDB 1.0!

    With simplicity in mind when creating this, I used the preg_match_all and foreach to create set/get variable functions, and then the ideas just started flowing in.

    PHPDB is coded in PHP OOP and is adapted for easy usage, now the code might be a little hard to understand if you are a newcomer, I am not the greatest commenter, neither am I the best coder.

    CODE: Class.PHPDB.php (Read the bottom comments)
    DATABASE EDITOR: PHPDB.Editor.php (Read the comments on line 3 and 7)
    (I didnt put alot of work into the editor since it was mostly just basic shits, instead I focused on the looks, sorreh)

    I cannot present a live demo, but my two witnesses RedSeaD1 and thetrev14 have been getting exclusive previews of my project ever since the first line of code, they can verify that it works.

    Remember, its in a early stage, improvements, feedback and all other shits are highly appreciated, you can do whatever you want with the code, no credits needed.

    - X1M!


    EDIT 1: Arrays are supported, just use the serialize() and unserialize() functions.
    Last edited by X1M!; 23-03-11 at 10:28 PM.


  2. #2
    Account Upgraded | Title Enabled! Raz0rDot is offline
    MemberRank
    Jun 2010 Join Date
    NorwayLocation
    489Posts

    Re: PHPDB - Flatfile Database Manager

    Yet again, Thanks mate! Might come in handy for those interested. Keep up the damn good work matey!

  3. #3
    Proficient Member viroware is offline
    MemberRank
    Jan 2011 Join Date
    152Posts

    Re: PHPDB - Flatfile Database Manager

    Nice, Hows the security with this? Im still learning php and dont know much about flat file databases in php But this sound likes Flat File would create security problems. I normally just use MySql but it sounds interesting.



Advertisement