Delivering the best Add-Ons in more than 37 languages.

中文(简体), English, हिन्दी/हिंदी, Español/Castellano, العربية, Русский язык, Français, 中文 (台灣), বাংলা, Bahasa Indonesia, اردو, Português, Deutsch, Bahasa Melayu (بهاس ملايو‎), 日本語 (にほんご), فارسی, Italiano, తెలుగు, Türkçe, ગુજરાતી, Język polski/polszczyzna, Tiếng Việt, ಕನ್ನಡ, Українська мова, ไทย
PHP Scripts / Miscellaneous

Data File

— Add-On to

Subscribe to our feed to stay up to date!

New! Follow us as you want it!

Data File - CodeCanyon Item for Sale


Ad: Bluehost hosting

If you want to store data in a file this class is the perfect solution, you can easily manage the data with no knowledge of how to store it required.

You can use this system to create a comments system or blog, or any system that would typically need a database with a few simple files.
But don’t think of it as something for people with no MySQL access, you could also use Data File to store config information for your project such as the database username and password.

Key Features:

  • Easily store data
  • Easily manage data
  • Can store any type of data
  • Light weight system
  • Secure files
  • Well documented

Documentation preview:
Comments system using Data File:

Comparison with MySQL
Data File 10000 Inserts: 0.02156400680542 10000 Selects: 0.0066959857940674 MySQL 10000 Inserts: 0.90946888923645 10000 Selects: 0.042078018188477

NOTE : the code for the comment system is also included, as is an example of storing config for a database using Data File.

If there are any problems with this item, the best place to ask is in the forum as I check that at least once a day.

Other components in this categoryAll components of this author
CommentsFrequently asked questions and answers


30 June 10

Last Update:

Compatible Browsers:
IE6, IE7, IE8, Firefox, Opera, Chrome 4, Chrome 5

Files Included:

Software Version:
PHP 5.x


eCommerce, eCommerce, All Items, alternative, class, config, data, database, file, mysql, object, replacement, storage