ASP code to PHP
I want to change an ASP code to PHP, do not know how to do, hope that the warrior can help
A function of the first page is written like this (save is a method of JS.) The main is to change the JS code nested ASP code to PHP)
Save (info, ' detect.asp?a=scan&uid= <%=request ("UID")%>&ip= <%=request.servervariables ("REMOTE_ADDR")%>&id= <%=request ("id")%>&inf= ' +info);
1.asp was written after the submission of the past.
<%
Uid=request.querystring ("UID")
id = request.querystring ("IP")
Info=request.querystring ("INF")
%>
These two pieces of code to PHP should be how to write, hope that the hero to give help ASP and PHP ASP Conversion PHP accepts conversions Request.QueryString
Share to:
------Solution--------------------
<%=request ("UID")%>
<%=request.servervariables ("REMOTE_ADDR")%>
<%=request ("id")%>
------Solution--------------------
Uid=request.querystring ("UID") uid=$_get[' uid '];