IsWap
<% ric = Request.ServerVariables("HTTP_ACCEPT") if instr(1, ric,"wml") > 0 then Response.ContentType = "text/vnd.wap.wml" '... codice WML ... else Response.write "
Codice HTML
_& " end if %>
<%
ric = Request.ServerVariables("HTTP_ACCEPT")
if instr(1, ric,"wml") > 0 then
Response.ContentType = "text/vnd.wap.wml"
'... codice WML ...
else
Response.write "<HTML><Body><p>Codice HTML</p>_&
</Body></HTML>"
end if
%>
( iswap.html )- by Paolo Puglisi
- Modifica del 17/12/2023