davelt00
asked on
Get php response in asp
Within an ASP page I'm trying to receive a response after "calling" a PHP page.
I've tried print("answer"); and echo "Answer"; within the PHP page without being able to retrieve "Answer" in ASP.
My ASP code is :
dim xml, strRetval
Set xml = Server.CreateObject("Micro soft.XMLHT TP")
xml.open "GET", "http://www.myDomainName.com/sendRequest.php", false
strRetval = xml.responseText
response.write strRetval
Set xml = nothing
I've tried print("answer"); and echo "Answer"; within the PHP page without being able to retrieve "Answer" in ASP.
My ASP code is :
dim xml, strRetval
Set xml = Server.CreateObject("Micro
xml.open "GET", "http://www.myDomainName.com/sendRequest.php", false
strRetval = xml.responseText
response.write strRetval
Set xml = nothing
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window