Forums
This topic is locked
HELP! ASP -> PHP Convert
Posted 10 Apr 2006 21:22:37
1
has voted
10 Apr 2006 21:22:37 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>
Replies
Replied 12 Apr 2006 16:35:22
12 Apr 2006 16:35:22 Roddy Dairion replied:
Ok why not just tell us what you want to achieve and we will help you out. If you don't know asp then its not really a bright idea to use ASP code.
So what are you looking to achieve?<img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
So what are you looking to achieve?<img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>