What I am trying to do is to be able to read the content of an specific php file located in my server (like your example: example2.org/file.php) from another web site (with a different domain), and to see the result in a html page located in that other domain. So I have change alert(data.var1); with document.write … to see the result printed, but what I really want I am not able to do it, so if you could help me I only have 2 questions:
Nii et ma olen muuta hoiatus(data.var1); koos document.write … et näha tulemust trükitud, kuid mida ma tegelikult tahan ma ei saa seda teha, nii et kui sa võiks mind aidata mul on ainult 2 küsimused: