PDA

View Full Version : AIR doesn't communicate with my server - PHP issue


Slackulator
08-12-2011, 05:50 PM
Hello,

So I have made an AIR application where the file communicates with a PHP file in order to display data.
I have WAMP installed on my computer, and the application works when I test locally using WAMP but if I upload the php on an online server(I tried on two of my servers) and run the AIR application it seems that it doesn't communicate with the server so no data are displayed.

var url:URLRequest = new URLRequest("http://www.test.com/test.php")

This is how I call for the php on AS3, like shown above.
Any suggestions?

The php file gives no errors when I browse it online so, I suppose there something else going on?