Jump to content

[SOLVED] Can i use PHP to write an actual XML file


kaplanyo

Recommended Posts

Hi,

 

I have what I think is a good system for generating XML from PHP. The PHP scripts run and dynamically generate some XML. So I get XML output from a PHP file.

 

What I'd like to do what I think of as 'publishing' the XML file, or creating an actual .XML file from the PHP. Is there function in PHP that would allow me write a file? PHP file > script runs > makes an actual .XML file.

 

I'm loading this XML into Flash and trying to optimize the loading, sometimes it seems like the dynamically generated XML takes a few seconds to get created by the PHP, sometimes it's fast (non-cached). I thought it might be better to load the XML from a 'static' XML file that I generated with my PHP script.

 

Any push in the right direction would be great, thanks.

Dave

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.