Integrating PHP in Flash

I’m having a lot of trouble trying to load a php file into flash. I used to have a html site, but I changed the entire interface into flash. However, I want to carry over a php file, but I don’t know how to do it.
I had 3 files: html for the interface for the php to run
php file to make it work
text file of data

I want to be able to put that into my flash movie. What is the easiest way that I can do this?

Please help.