Forums

ASP

This topic is locked

HELP! ASP -> PHP Convert

Posted 10 Apr 2006 21:22:04
1
has voted
10 Apr 2006 21:22:04 Louis Palovits posted:
Hello,

I don't know anything about ASP, can someone please help me translating this code to PHP? I've already test with asp2php tool and it crashes! Please help me!

<pre id=code><font face=courier size=2 id=code>
lsUser=Request.QueryString("ID"
lsPwd=Request.QueryString("PWD"
lsNivel="mercado.xsl"
lsDirectorioAplicacion= Request.ServerVariables("APPL_PHYSICAL_PATH"
lsDirectorioXMLs= lsDirectorioAplicacion & "xml\"
set loXML = server.CreateObject ("MSXML2.DOMDOCUMENT"
loXML.load(lsDirectorioXMLs & "cambio.xml"
set loNuevo = server.CreateObject ("MSXML2.DOMDOCUMENT"
set loXSL=server.CreateObject ("MSXML2.DOMDOCUMENT"
loXSL.load (lsDirectorioXMLs & "empresas\" & lsNivel)
loXML.transformNodeToObject loXSL,loNuevo
Response.Write loNuevo.xml
</font id=code></pre id=code>

Reply to this topic