Loading xml data in AS3

Hi,

I want to update a dynamic textfield in AS3 by loading file.xml. This is working fine when loading the swf offline or online. The “?cache=” bit and date and time here below are there to insure that the cache is emptied and the xml is reloaded.

AS3 code
///
var request:URLRequest = new URLRequest(“http://www.xxx.com/maps_test/file.xml” + “?cache=” + new Date().getTime());
loader.load(request);
///

However, when embedding the SWF in a PHP page requiring SQL identification (using mysql_pconnect), the SWF animation still plays correctly but file.xml is not loaded anymore and the textfield does not update.

Any idea why that is? Do I need to authorize the data from file.xml to be sent through PHP as well because of the previous SQL identification request? Any tips on the code I should use or tutorials?