This code is ASP VBSCRIPT
<%
g_DATABASE_NAME="dbase.mdb"
gstr_CONNECTION_STRING="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & g_DATABASE_NAME & ";User Id=Admin"
set conn=server.createobject("ADODB.Connection")
conn.open gstr_CONNECTION_STRING
lSQL="" & request("lSQL")
if lSQL="" then
lSQL="SELECT 'INVALID ARGUMENT PASSED' AS [ERROR_IN_ARGUMENT]"
end if
set rs=server.createobject("ADODB.Recordset")
rs.open lSQL,conn,3,4
Response.ContentType = "text/xml"
Rs.Save Response, 1
%>
Could anyone please convert it to php, all it does is makes xml from a database.