小辈有问题要问PHP达人,ASP的一段代码在PHP中如何实现.
<%
Dim iURL
iURL = Split(Request.ServerVariables("SERVER_NAME"),".")
If Lcase(iURL(1))="purebasic" Then
Response.Redirect("index.php")
Else
Response.Redirect("index.php3")
End If
%>
请问再PHP中如何实现该代码.
Dim iURL
iURL = Split(Request.ServerVariables("SERVER_NAME"),".")
If Lcase(iURL(1))="purebasic" Then
Response.Redirect("index.php")
Else
Response.Redirect("index.php3")
End If
%>
请问再PHP中如何实现该代码.
...全文


基础编程
