Chat Program Problem

Hello… i’m not really a newbie… but… can anyone tell me… is there some sort of secret method, really hidden into flash to write to a file?? there has to be something…
Here is what it is all about:
Unable to have to buy a flash server i had to make a chat program that does not use a flash server… of course… and my idea was to write to a xml every message and flash to read it… the writing was done with php and the reading was done with flash xml.
Why doesn’t it work?? The messages don’t change! Here’s the weird part: The PHP file writes to the xml the message wrote in flash but flash does not read the file after… why?? And another thing… while running the application… i decided to… test more… i tested another weird thing… it works perfectly if i add the message using notepad…hmmm… what’s wrong…
PS: the project is not done yet… it needs the users to be detected and muc more… but for the message part… why doesní work??
PPS: i attached everything… please help…