tapupartforpres Posted January 19, 2009 Share Posted January 19, 2009 Hello. Question. I am putting together a plan for a site. It is for a printing company. What I need this site to do is when someone orders say a postcard, they select their paper, and size, etc. What I need done is I need this information to be written to a "hotfolder" in XML in a local folder here on our servers. Is is easy to map certain fields to be written to XML? Sorry sort of a beginner here. Just hoping someone could give me a basis on what needs to be done. Thanks Link to comment https://forums.phpfreaks.com/topic/141494-php-to-xml/ Share on other sites More sharing options...
phparray Posted January 19, 2009 Share Posted January 19, 2009 Creating an xml file is no different than writing to any file. Just build the xml as a str and use fopen / fwrite to create the file. http://us2.php.net/fopen http://us2.php.net/manual/en/function.fwrite.php Link to comment https://forums.phpfreaks.com/topic/141494-php-to-xml/#findComment-740623 Share on other sites More sharing options...
rhodesa Posted January 19, 2009 Share Posted January 19, 2009 check out SimpleXML Link to comment https://forums.phpfreaks.com/topic/141494-php-to-xml/#findComment-740675 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.