Just nu i M3-nätverket
Jump to content

Köra php-script ?


Don Tomas

Recommended Posts

Hej!

Kan man köra ett php-script ifrån ett ASP VBScript ?

 

if svaret == "Ja" then

echo "Berätta det för mig";

else

echo "Berätta varför";

 

 

/TN

Link to comment
Share on other sites

Jodå, så här tex:

 

<%
Set objRequest = Server.CreateObject("MSXML2.ServerXMLHTTP")

objRequest.Open "GET", "http://localhost/hello.php", False
objRequest.Send
text = objRequest.responseText
Set objRequest = Nothing

Response.Write "<BR>text='" & text & "'<BR>"

%>

 

/TN

 

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...