First, set up a Web server
First of all, your Web server will be able to handle PHP scripts by installing PHP. Second, to enable the Web server to identify and process PHP, WML, wbmp and other files, the Web server's MIME table needs to add the following file types.
TEXT/VND.WAP.WML. WML
Image/vnd.wap.wbmp. wbmp
APPLICATION/VND.WAP.WMLC. WMLC
Text/vnd.wap.wmls.wmls
APPLICATION/VND.WAP.WMLSC. WMLSC
Second, with PHP output simple dynamic WAP page
Here i
If you are using Firefox, you can install the wmlbrowser extension.
: Https://addons.mozilla.org/zh-CN/firefox/addon/62
If you use IE, you can use the AO game browser and then install the WAP SideBar plug-in. WAP SideBar can convert WAP to HTML for you to browse in the Maxthon SideBar. Generally, WAP browsing support
If you have http_x_wap_profile, it must be a mobile device.
if (Isset ($_server[' http_x_wap_profile ')) {
return true;
}
Copy CodeAnalysis: By getting the Http_x_wap_profile information returned by the client, it can be judged that it must be a mobile terminal, but not all mobile phones can return this information, this and wait for access via is the same, which involves terminal and service provider problems! Code:
If the VIA m
I want to achieve this effect. the homepage of the website is index. php. when a mobile phone user accesses the page, the page automatically jumps to the wap page, and a computer version of the page is linked to index. php. When the user clicks the computer version in the wap version, the jump to index. php will not jump to the wap jump to the php terminal.
Choose a Blog from Slamdunk3
1. File formatThe first thing to encounter is certainly the file format, in the Web development, everyone is the use of HTML or XHTML, to the WAP development, you have to use WML. What is WML? You can check more detailed information, I just mention it slightly. In my opinion, WML is similar to XML, There is a very strict format, in the WAP page, you have to use WML as a display.
Of course, there are other methods that can be searched online. I recommend a way to browse both the HTTP page and the WAP page, which is to use the Firefox + wmlbrowser component. Install the Wmlbrowser component of Firefox can support the direct browsing WAP page.
Because of the need to dynamically output content, we have to set the suffix name of the page as. PHP, so how do you let the browser parse it i
We can use PHP to write WAP programs, such as developing dynamic WML pages, but only if the output labels or statements need to be limited to the acceptable range of WAP mini-browsers. Also, PHP can be written in an HTML (and HDML) file that is suitable for both HTML (and HDML) and WML content. The source code of PHP is not visible to WAP clients, so we can outpu
Source of our simple test here, the specific please download the test yourself. This set of source code is the official price is very high, here is completely free to share, without any restrictions, installation is simple. after downloading the source code, please self-detect the security, in the use of any problems occurred in the process of self-treatment, the site does not assume any responsibility! Here is the source of the pro-TestInstallation InstructionsAfter the installation of the main
Sina Science and technology news May 15 0 o'clock, China Mobile Beijing users through the mobile phone to visit the WAP site, will first jump to a tariff prompt page, told users to continue to access will generate GPRS communications fees. Insiders said that China Mobile yesterday in the internal has been oral communication, asked the provinces on May 15 0 o'clock in the morning on the Unified online tariff reminder page.
According to the user tips in
(1) Kannel installationThe latest Kannel stable version is 1.4.3 and can be downloaded at http://www.kannel.org. To install after downloading:After decompression, enter the directory of the source files such as: cd/usr/local/gateway-1.4.3, followed by the following command:Apt-get Install LIBXML2 Libxml2-dev./configureMakeMake Bindir=/gateway-1.4.3/bin InstallAfter compiling, you will see two executables in the GW directory in the source file: Bearerbox, Wapbox(2) Bearerbox, Wapbox1) BearerboxTh
In the previous section, I explained the most basic concepts of WAP and WML, and in this section we'll look at how ASP and WAP are combined.
Section Fourth: Another way to book your movie tickets
Now in Oslo, cinemas offer a system based on the telephone to sell tickets, the system is very complex, and must give users some instructions to guide users to buy tickets,
And the user must also find some kind o
Dynamic | Page Three, dynamically generate images with PHP
WAP applications use a special Black-and-white image format wbmp. We can use some tools to convert existing images into wbmp format and then work with them in WML documents. However, if we can dynamically generate the required images such as chart on the WAP site, there will be a wide application prospect. Fortunately, PHP's GD library (version 1.8
The ASP technology in WAP
Section I: The potential of WAP
These days, we often hear about WAP technology, a technology of mobile internet. Technically, mobile phones are unlikely to compete with PCs, and mobile phone screens can accommodate very few characters, with limited bandwidth and clumsy typing. Then why do I have to introduce it, hey, here are two major
WAP is the standard of wireless internet, developed by several large vendors, it defines a layered, scalable architecture that provides a comprehensive solution for the wireless internet. One of the principles of WAP Protocol development is to be independent of the air interface, the so-called independent of the air interface refers to the WAP application can run
JS scripts jump to the WAP mobile Website Based on the mobile browser type (two methods), jswap
With the increasing popularity of the mobile Internet, enterprise network propaganda is not only limited to PC, but also to mobile development. After we complete our WAP mobile phone on our website, if a user accesses our enterprise top-level domain name website through a mobile phone, we need to determine that t
Php converts html into a wml WAP markup language instance, wmlwap. Php converts html to wml WAP markup language. wmlwap this article describes how php converts html to wml WAP markup language. Share it with you for your reference. The specific implementation method is as follows: php converts html into a wml WAP markup
Some time ago, I took charge of the front-end work of the company's wap station. At present, the foundation of the wap station and several complicated pages have been released. I have posted some experiences based on my own experience, hope to help some people who may be connected to the Wap site now or in the future
I. The design size of this
Why is j2midp superior to WAP?
J2midp addresses limitations of the limitations of WAP.
Developed through the Java Community process (JCP) program under the guidance ofExpert group composed of twenty companies representing the wireless industryMIDP addresses programming issues most relevant to mobile clients, such as user interface,Networking, persistent storage and application model.
Compared to
The one before meArticleHow to combine WML and ASP technology to compile a dynamic mobile page, I introduced how to use ASP to generate dynamic WML web pages. In this article, I want to further introduce how to use ASP to develop dynamic WML web pages and their applications. In fact, you can use server-side programming (such as ASP) to develop many applications.ProgramFor WAP mobile phones, you only need to directly generate
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.