ASP and PHP asp convert PHP Accept conversion request.querystring
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
Reply to discussion (solution)
<%=request ("UID")%>
<%=request.servervariables ("REMOTE_ADDR")%>
<%=request ("id")%>
Hello, after submitting to 1.asp, how should receive accept? That is how the uid=request.querystring ("UID") should be changed.
Uid=request.querystring ("UID") uid=$_get[' uid '];
I know
Thank you