WAP CSS / WCSS Tutorial
WCSS (WAP CSS, also known as Wireless CSS or Wireless Profile CSS) is the cascading style sheet language that is used with XHTML MP. It is based on CSS2. Like XHTML MP, WCSS is defined in WAP 2.0.
At the beginning of our WCSS tutorial, we will mention about what WCSS is, the advantages and disadvantages of using WCSS on your WAP site, WCSS's syntax, etc. After that we will look at different ways to apply WCSS cascading style sheets to XHTML MP documents, WCSS selectors, and some of the commonly used WCSS properties. The last part of our WCSS tutorial includes an in depth coverage of the three WAP specific extensions to CSS2 and a brief discussion of how to detect the type of a user agent and apply the appropriate WCSS style sheet to it.
PHP, MySQL, Joomla, Wordpress and other CMSes as well as CSS, jScript, jQuery related tested & trusted references links will be posted here for every PHP enthusiasts references. Enjoy
Search This Blog
Thursday, March 26, 2009
Generating WML Pages with PHP
Generating WML Pages with PHP
Using PHP to create a WML page
If you have decided to have a WAP version of your website and you want to make it dynamic, you can use PHP to generate your WML pages. In order to view WML pages you should download and install a phone emulator from Phone.com, Nokia.com or somewhere else. You can also use a WAP enable cell phone.
You should first make sure that the server your website is on can serve WML pages. (I am assuming it to be Apache) If the server doesn't know how to handle a .wml file, you can add it your Apache configuration or create an .htaccess file that adds the file type to a specific directory.
Sample .htaccess file
addtype text/vnd.wap.wml wml
addtype image/vnd.wap.wbmp wbmp
AddType text/vnd.wap.wmlscript wmls
AddType application/vnd.wap.wmlc wmlc
AddType application/vnd.wap.wmlscriptc wmlsc
Using PHP to create a WML page
If you have decided to have a WAP version of your website and you want to make it dynamic, you can use PHP to generate your WML pages. In order to view WML pages you should download and install a phone emulator from Phone.com, Nokia.com or somewhere else. You can also use a WAP enable cell phone.
You should first make sure that the server your website is on can serve WML pages. (I am assuming it to be Apache) If the server doesn't know how to handle a .wml file, you can add it your Apache configuration or create an .htaccess file that adds the file type to a specific directory.
Sample .htaccess file
addtype text/vnd.wap.wml wml
addtype image/vnd.wap.wbmp wbmp
AddType text/vnd.wap.wmlscript wmls
AddType application/vnd.wap.wmlc wmlc
AddType application/vnd.wap.wmlscriptc wmlsc
Learning WML - Variables and Scripting
Learning WML - Variables and Scripting
This series of articles describes how to provide Web content to mobile devices through WML (Wireless Markup Language). This article covers variables and beginning scripting with WMLScript. Future articles will cover more advanced scripting and how to integrate other technologies such as PHP to make your pages more flexible.
This series of articles describes how to provide Web content to mobile devices through WML (Wireless Markup Language). This article covers variables and beginning scripting with WMLScript. Future articles will cover more advanced scripting and how to integrate other technologies such as PHP to make your pages more flexible.
Best WAP guide step-by-step and tools references
Best WAP guide step-by-step and tools references
The WAP Forum has just released version 2.0 of the WAP standard. This release includes support for 3G (third generation) wireless networks, as well as XHTML based client side languages. Enough about that however, I will go into more about the WAP standard and its governing architectures in another article.
The WAP Forum has just released version 2.0 of the WAP standard. This release includes support for 3G (third generation) wireless networks, as well as XHTML based client side languages. Enough about that however, I will go into more about the WAP standard and its governing architectures in another article.
Openwave WAP SDK
Openwave WAP SDK
Openwave Mobile SDK
Openwave provides developers with a comprehensive suite of tools and utilities free of charge helping you author wireless content and applications quickly and easily. Based on open standards, Openwave SDKs let you take advantage of the latest mobile technologies and build pioneering XHTML, MMS, location and push-based applications that work on a wide range of phones and networks. The current list of SDKs includes:
Openwave® Phone Simulator v7.0
Openwave® MMS SDK Version 3.0
Openwave® Location Studio SDK Version 2.0
Openwave® WAP Push Library
Openwave Mobile SDK
Openwave provides developers with a comprehensive suite of tools and utilities free of charge helping you author wireless content and applications quickly and easily. Based on open standards, Openwave SDKs let you take advantage of the latest mobile technologies and build pioneering XHTML, MMS, location and push-based applications that work on a wide range of phones and networks. The current list of SDKs includes:
Openwave® Phone Simulator v7.0
Openwave® MMS SDK Version 3.0
Openwave® Location Studio SDK Version 2.0
Openwave® WAP Push Library
Mobile Programming links and tips forum
Mobile Programming links and tips forum
http://www.zend.com/zend/tut/wap.php
WAP-Enabling a Website with PHP3 :
-------------------------------------------------
http://www.devshed.com/Server_Side/PHP/PHP_WAP/
WAP In Perspective :
-------------------------------------------------
http://phpbuilder.com/columns/markaw20001204.php3
http://www.zend.com/zend/tut/wap.php
WAP-Enabling a Website with PHP3 :
-------------------------------------------------
http://www.devshed.com/Server_Side/PHP/PHP_WAP/
WAP In Perspective :
-------------------------------------------------
http://phpbuilder.com/columns/markaw20001204.php3
PHP header for WML
best post on WEBMASTER WORLD
Are you putting the content type header in your php code? something like:-
header("Content-type: text/vnd.wap.wml");
\n";?>
Are you putting the content type header in your php code? something like:-
header("Content-type: text/vnd.wap.wml");
\n";?>
Zend PHP Toolbox
Getting Started with Zend Server CE
Leveraging Zend Framework Components from Adobe Flash Platform Applications
Building AutoComplete Inputs with PHP, PEAR, Dojo and YUI
Zend_Tool for the Developer - Part 2
Zend_Tool for the Developer
Using Zend_Tool to start up your ZF Project
Reading Access Databases with PHP and PECL
Dynamically Generating PDF Files with PHP and Haru
Reading and Writing MP3 and Photo Metadata with PECL
etc... tutorials explained extensively
Getting Started with Zend Server CE
Leveraging Zend Framework Components from Adobe Flash Platform Applications
Building AutoComplete Inputs with PHP, PEAR, Dojo and YUI
Zend_Tool for the Developer - Part 2
Zend_Tool for the Developer
Using Zend_Tool to start up your ZF Project
Reading Access Databases with PHP and PECL
Dynamically Generating PDF Files with PHP and Haru
Reading and Writing MP3 and Photo Metadata with PECL
etc... tutorials explained extensively
Working with RAR, LZF and BZ2 Compression Formats in PHP
Working with RAR, LZF and BZ2 Compression Formats in PHP
RAR support in PHP comes through PECL's ext/rar extension, which is maintained by Antony Dovgal and provides a function-oriented read-only API for listing and extracting RAR archive files. The LZF extension, maintained by Marcin Gibula, allows for LZF compression and decompression, while the Bzip2 extension allows for Bzip2 compression and decompression.
RAR support in PHP comes through PECL's ext/rar extension, which is maintained by Antony Dovgal and provides a function-oriented read-only API for listing and extracting RAR archive files. The LZF extension, maintained by Marcin Gibula, allows for LZF compression and decompression, while the Bzip2 extension allows for Bzip2 compression and decompression.
PHP file from an onsubmit
You cannot call a PHP file from an onsubmit, only javascript files.
What you can do:
echo "
What you can do:
echo "
Subscribe to:
Posts (Atom)