Combine XML, Files and SQLite with PHP 5
This example shows you how to do it if you have no MySql DBMS at hand and a not to extensive amount of data to expect. The XML file (holds all basic data we want to make available in the administration by choice), the text file will handle all the chosen data and the SQLite will contain all data submitted from users - as an extra we want to trigger the most important actions as data inserts and changes in text files with error_log(). PHP has everything you need: SimpleXML and XPath to handle the XML data, the fopen-flock-fwrite-fclose functions to handle text files and the SQLite statements and features to handle database content. A configuration class concerns about the connections, a debugger class writes the log messages and a exception class of one's own secures that text files are always in fine read and write condition or checks if the submitted data has been manipulated. The function sqlite_escape_string prevents from submitting harmful code in the SQLite database.
- Visit Site:
- Combine XML, Files and SQLite with PHP 5
- Version:
- XMLFileSQLite_100608
- Filed in:
-
PHP / Scripts & Programs / XML & PHP
- Platforms:
-
- Databases:
-
- Date Added:
- Feb 16, 2009
- Last Updated:
- Feb 16, 2009
License and Pricing Information
Freeware
Price: $0.00 USD
| Publisher site visits: | 237 |
|---|---|
| Average rating: | 0.00 |
| Total ratings: | 0 |
Publisher Info
- Author:
- Claudio Biesele
Other listings by this publisher
- PHP calendar with AJAX driven agenda
- Breadcrumbs navigation with PHP 5, SimpleXML, XPath and class
- Menu Handling Class with SimpleXML and PHP
- Advanced Form Handling with PHP
- Web safety with AJAX and PHP 5
- PHP Basket Class with OOP
- PHP Multipurpose Forms with data binding and cross table
- Handle remote data with PHP 5 and REST Web service
- Small Reservation CMS with setup file for easy installation
