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

« Web Mobile Intro: Simulator Web Mobile Intro: Testing Web Mobile Use Openwave Simulator »

Web Mobile Intro: Making Simple Web Mobile Application


Web mobile introduction Step By Step Tutorial - Part 2: After install simulator, we will try to build simple web mobile. In this practice, we make 2 page. And look action, how to jump from one to other.

First, create a file named "test.php" within www/test/mobile. Enter following code:

<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML mobile 1.0//END" "http://www.wapforum.org/DTD/xhtml-mobile0.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>My First Mobile Web App</title>
  </head>
  <body>
    <h1>Hi..<?=$_GET['name']?></h1>
    You enter the site at <?=date("d-M-Y h:i:s")?>
    Refresh this page by click <a href="test.php">here</a>
    or <a href="test2.php">test</a>   
  </body>
</html>

Next, create a file named "test2.php". Enter following code:

<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML mobile 1.0//END" "http://www.wapforum.org/DTD/xhtml-mobile0.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>Page #2</title>
  </head>
  <body>
    <h1>Hi..<?=$_GET['name']?></h1>
    You enter the site at <?=date("d-M-Y h:i:s")?>
    Refresh this page by click <a href="test2.php">here</a>
    or <a href="test.php">test</a>   
  </body>
</html>


Series this article:
Web Mobile Intro: Simulator
Web Mobile Intro: Making Simple Web Mobile Application
Web Mobile Intro: Testing Web Mobile Use Openwave Simulator


Tag: web mobile, simulator, application Category: Post : April 04th 2008 Read: 1,288 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