×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    18

    The same URL from WEB to WAP?

    Can I create a WAP site which has the same URL of my WEB site? For example, if my site is www.sitename.com, can I write the same URL on a WAP phone to connect to the WAP version of this site? Thanks

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    1

    RE: The same URL from WEB to WAP?

    <%
    useragent=lcase(request.serverVariables("http_user_agent&quot)
    if (instr(useragent,"MSIE&quot>0) then
    response.redirect "index.htm"
    else
    %>
    <%Response.ContentType="text/vnd.wap.wml"%><?xml version="1.0"?>
    <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
    <wml>
    <head>
    <meta http-equiv="Content-Type" content="text/vnd.wap.wml;"/>
    </head>
    <card id="top" title="test">
    <p align="center">
    <img src="/wml/bw_city.wbmp" alt="Welcome!"/>
    </p>
    </card>
    </wml>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •