Calling php code on different domain from Javascript? Help!!!?

nutritionmaster

New member
Here's what I'm trying to do: I have a php page I created on one domain, that stores information in a database. Next, I have another web page on a Different domain that I call this php page using Javascript, and would like to return a variable from the php page. How is this possible? I know it is, so don't say that it isn't! (10 points for the person that finally answers this question!)
 
You can do it, however you have to talk to the same domain the javascript came from and then have that server access the page on the seperate domain. This is how everyone on the web does it, because *by design* client side scripts and applets are not allowed to talk to any other domain that the one from which they came.
 
Back
Top