Asp code to php asp and php asp to convert php to accept conversion request. querystring
I want to change an asp code to php. I don't know how to do it. hope you can help me.
A function on the first page is written in this way (Save is a js method. It is mainly to change asp code nested in js code to php code)
Save (info, 'detect. asp? A = scan & uid = <% = request ("uid") %> & ip = <% = request. servervariables ("remote_addr") %> & id = <% = request ("id") %> & inf = '+ info );
1. asp is written like this after submission
<%
Uid = request. querystring ("uid ")
Id = request. querystring ("ip ")
Info = request. querystring ("inf ")
%>
How can I write these two codes into php? hope you can help me.
Reply to discussion (solution)
<% = Request ("uid") %>
<% = Request. servervariables ("remote_addr") %>
<% = Request ("id") %>
Hello, how can I obtain the acceptance information after submitting it to asp? That is, how can I change the uid = request. querystring ("uid ")?
Uid = request. querystring ("uid") uid = $ _ GET ['uid'];
I understand
Thank you.