hello
I work on Acrobat Pro
My goal is to send arequest HTTPthrough my PDF file
I took a classic example:
I put javascript code in Programmes/Acrobat/......../javascript/
ajax = function(cURL) {
var params =
{
cVerb: "GET",
cURL: cURL,
oHandler:
{
response: function(msg, uri, e,h){
var stream = msg;
var string = "";
string = SOAP.stringFromStream( stream );
app.alert( string );
}
}
};
Net.HTTP.request(params);
}
app.addMenuItem({ cName: "Go PHP", cParent: "File",
cExec: 'ajax( "http://localhost/myPage.php");',
cEnable: "event.rc = (event.target != null);",
nPos: 0
});
but when I go to "File/Go PHP" Acrobat says that it isan internal error
what is problem?
Thanks