PHPEveryday.com PHP and Web Development Tutorial
What are you looking for?


Flash Database: Text File


Flash Database Step By Step Tutorial - Part 1: In this series, we will talk about how to build database application flash based. What relation with PHP? We place flash in position as client side and PHP as server side.

Flash application, as client side, send data or request to server. Then, PHP as server application, processes data or request. One of task of PHP is update database and send back to flash application.

In, this series, we use text based as database. For practice, we build polling flash application.

Now, create a file named "polling.txt" within www/test/flash. Enter following text:

title=What database kind do you like?
choice1=Plain Text
choice2=XML
choice3=MySQL
choice4=MsSQL
choice5=Oracle
choice6=SQLite
choice7=PostgreSQL
choice8=Ms Access
choice9=DB4O
choice10=Db2
votes1=0
votes2=0
votes3=0
votes4=0
votes5=0
votes6=0
votes7=0
votes8=0
votes9=0
votes10=0

Question the polling placed at line:

title=What database kind do you like?

The next is available choice:

choice1=Plain Text
choice2=XML
choice3=MySQL
choice4=MsSQL
...

Last, initial value for each choice:

votes1=0
votes2=0
votes3=0
votes4=0
...


Series this article:
Flash Database: Text File
Flash Database: PHP for Reading Data
Flash Database: Saving Data at Server Side
Flash Database: Switching Task at Server Side
Flash Database: Starting Flash
Flash Database: Making Flash Polling Interface
Flash Database: Giving Action to Submit Polling
Flash Database: Trying Submiting Vote
Flash Database: Preparing Polling Result Interface


Tag: flash, database, text, file Category: PHP Application Post : March 24th 2008 Read: 2,477 Bookmark and Share

blog comments powered by Disqus


Database Tutorial
  • Learn PHP MySQL
  • Learn PHP ADOdb
  • Learn PHP Data Object/PDO
  • Learn PHP XML
  • Learn PHP SimpleXML
Security Tutorial
  • Learn PHP Security
  • Learn HTTP Authentication
  • Learn PHPSecureSite
Framework Tutorial
  • Learn CodeIgniter
  • Learn Joomla
  • Learn Smarty
  • Learn Zend Framework
Template Tutorial
  • Learn Joomla Template
  • Learn WordPress Template
API Tutorial
  • Learn Facebook
JS Framework Tutorial
  • Learn MooTools
  • Learn JQuery
AJAX Tutorial
  • Learn AJAX in 10 Minutes
  • Learn AJAX Client Side
  • Learn AJAX PHP
  • Learn AJAX Remote Server
  • Learn AJAX Repetitive
  • Learn AJAX MySQL
  • Learn AJAX Grid
Web Services Tutorial
  • Learn Web Services NuSOAP
  • Learn Web Services WSDL
  • Learn Web Services WSDL Array
  • Learn Web Services .NET Grid
  • Learn Web Services WDDX
Package Post
  • Joomla Intro
  • Joomla Component
  • Joomla Module
  • Joomla MVC
  • Joomla MVC Backend
  • PostNuke Intro
  • Zend Framework Intro
  • Zend Framework Action
  • Zend Framework Database
  • Zend Framework Registry
  • Zend Framework Config
  • Zend Framework Login
  • Zend Framework Session
  • PHP Array Tips
  • PHP File Tips
  • PHP Email
  • PHP Ms Excel
  • PHP Pattern
  • PHP SMS
  • Flash Database
  • PHP Multitier
  • jQuery Introduction
  • jQuery Selectors
  • Portable Web Server
  • Web Mobile Intro
  • Drupal Installation
  • Drupal Configuration