I found this code that will redirect users using wml but it's in ASP can anyone tell me how to do this in php?
<%
if InStr(Request.ServerVariables("HTTP_ACCEPT"), "wml") then
Response.Redirect("index.wml")
else
Response.Redirect("index.html")
end if
%>
Thanks