To convert asp code to php, I want to change an asp code to php, hope Daxia can help write a function on the first page in this way (Save is a js method. It is mainly to change the asp code nested in js code to php) Save (info, detect. asp? Ascan & amp; uuid) % & gt; & amp; ip & lt; % request. asp code to php
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.
Asp and php asp conversion php accept conversion request. querystring
Share:
------ Solution --------------------
<% = Request ("uid") %>
<% = Request. servervariables ("remote_addr") %>
<% = Request ("id") %>
------ Solution --------------------
Uid = request. querystring ("uid") uid = $ _ GET ['uid'];