
November 28th, 2000, 12:56 PM
|
|
Junior Member
|
|
Join Date: Nov 2000
Posts: 2
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Try this
ua = Request.ServerVariables("HTTP_USER_AGENT")
if (Instr(ua, "Mozilla")=0) then
Response.Redirect "http:// (wapurl)/login.wml"
end if
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by MartinKoss:
I am trying to find example script or headers that can be placed at the top of the file in the root of a site (index.html / index.php etc.,) that automatically detects whether the request is coming from a WAP device or a PC browser so that it can then either display the correct include file or redirect to /WAP/index.wml or /HTML/index.php (for example).
Any help or links would be greatly appreciated.
Thanks,
Martin[/quote]
|