Đang chuẩn bị liên kết để tải về tài liệu:
Webmaster's Guide to the Wireless Internet part 39

Không đóng trình duyệt đến khi xuất hiện nút TẢI XUỐNG

Webmaster's Guide to the Wireless Internet part 39. The Webmaster’s Guide to the Wireless Internet provides the Wireless Webmaster with all of the tools necessary to build the next generation Internet. Packed with the essential information they need to design, develop, and secure robust, e-commerce enabled wireless Web sites. This book is written for advanced Webmasters who are experienced with conventional Web site design and are now faced with the challenge of creating sites that fit on the display of a Web enabled phone or PDA | 352 Chapter 8 Wireless Enabling Your Big Bandwidth Site map print _ ENV _ br keys ENV print DISPLAY HDML elsif detect_accept eq wml print WML header and print out results print Content-type text vnd.wap.wml n n print HEAD xml version 1.0 DOCTYPE wml PUBLIC - WAPFORUM DTD WML 1.1 EN http www.wapforum.org DTD wml_1-1.xml HEAD print wml card id first title printenv p map print _ ENV _ br keys ENV print p card wml To install the program save the above text as printenv.cgi and put it in your cgi-bin. If you are using a UNIX system you will need to make sure that the file is executable and that the first line of the file corresponds to the location of your Perl installation. You can request the file http your.site.com cgi-bin printenv.cgi with most any browser and view the complete list of environmental variables.There is no flow control in this script so bear in mind that when you send the content to an actual device you may find that the deck is too large for the device to handle. However the emulators that are available for both the UP.Browser and the Nokia WAP Toolkit do not suffer from the limitations imposed by WAP gateways.They will deliver the deck contents even if they are too large for an actual device. Redirecting Your Users to Static Content Now that your Web server is up and running and you know where to look to find out what types of content your users can accept you can use this knowledge to give your users what they want content. In this section we will cover how to redirect your users to separate static pages based on their browser. If you implement this on your site it will allow you to send all of your users to the same URL http your.site.com regardless of the device that they are using.When www.syngress.com Wireless Enabling Your Big Bandwidth Site Chapter 8 353 the user queries your URL they will execute the redirection script index.cgi and be directed to an appropriate index page coded in either HTML WML or HDML. We will provide examples in PHP and

Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.