Programming

Using PHP with Mobile XHTML

Mobile XHTML is the best markup language for mobile browsers as opposed to WAP. XHTML, however, does have limitations which can be solved by dynamic scripting. If you renamed the page’s extension from html to php, the page will not display in a mobile browser. I spent a great deal of time searching the Internet for a solution and not one site could help me. After some thought, I discovered how to create a mobile PHP page.

A Mobile XHTML page has 2 HTML tags at the start of the page. If you remove these tags, the page will not display correctly. A PHP page must begin with the following bit of code in order to display:

< ?xml version="1.0" encoding="UTF-8"?>
< !DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
"http://www.wapforum.org/DTD/xhtml-mobile10.dtd">

This code must appear at the very beginning of the PHP page before the HTML tag. From there, you can use any PHP function available.

Visual Studio 2005 Express Now Free

On April 26, 2006, Microsoft announced that the Express editions of Visual Studio 2005 will remain free. This is a greaty appreciated gift for the hobbiest programming community because it gives powerful tools (even though they are scaled down from the full versions) for developing Windows applications.

The applications were originally going to be free for one year starting November 7, 2005. The 5 million downloads since was no doubt a factor in convincing Microsoft to continue its free offering.

Currently, there are many interesting applications that Microsoft has provided for C++. These include starter kits for Lego Mindstorms, Skype Wrapper, and the Mediashare Messenger.