I have a IIS server running ASP script that is executing a PHP script on another system. I need to execute the script without opening a window and get a return value upon completion.
The ASP code is found below.
var sURL ="http://10.0.1.2/ChangePass/password.php?user=tst&pass=test995";
var sRetMsg = "VPN Change Status from: 10.0.1.2 = ";
sRetMsg += showModalDialog(sURL,'','DialogWidth:3em; DialogHeight:3em; DialogTop:1; DialogLeft:1;');
alert(sRetMsg);
So what I need to accomplish is make sure the window closes and the asp script gets the return value back.
How can I accomplish this.