anche mettendo questa ottengo il seguente errore: Notice: Undefined index: XML in C:\.....
uso la seguente funzione js che richiamo quando creo l'oggetto ajax ( var ajax = startXMLHttpRequest())Della parte javascript non posso essere sicuro, non ci hai detto con che framework stai lavorando, jQuery, altro?
codice://AJAX----------------------------- function startXMLHttpRequest() { XHR = null, browserUtente = navigator.userAgent.toUpperCase(); if(typeof(XMLHttpRequest) === "function" || typeof(XMLHttpRequest) === "object") XHR = new XMLHttpRequest(); else if(window.ActiveXObject && browserUtente.indexOf("MSIE 4") < 0) { if(browserUtente.indexOf("MSIE 5") < 0) XHR = new ActiveXObject("Msxml2.XMLHTTP"); else XHR = new ActiveXObject("Microsoft.XMLHTTP"); } return XHR; }


Rispondi quotando
