List Info

Thread: writing XML data in PHP




writing XML data in PHP
user name
2006-02-25 13:30:12
Hi, im relatively new to php and am in the process of making
an xml
driven flash slide show however i need the xml file to be
automatically
udated when a user uploads a new photo. Any help would be
much
appreciated.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Professional PHP Developers"
group.
To post to this group, send email to Professional-PHPgooglegroups.com
To unsubscribe from this group, send email to
Professional-PHP-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/Professional-PHP
-~----------~----~----~----~------~----~------~--~---

writing XML data in PHP
user name
2006-02-26 22:48:13
Not a very good way, but you can use an xml parser to parse
the file
itself into an array, and then add another array item and
later just
output to xml with a simple generator (Creating one isn't
complicated).

These Links might be useful:

http://php.net/xml/
http://pear.php.net/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Professional PHP Developers"
group.
To post to this group, send email to Professional-PHPgooglegroups.com
To unsubscribe from this group, send email to
Professional-PHP-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/Professional-PHP
-~----------~----~----~----~------~----~------~--~---

writing XML data in PHP
user name
2006-02-27 11:13:01
Hi,

You can do very easily at each time flash page should call
to php page
and in php page you can create xml file with simple file
handling
function like fwrite.

like
$content = "<XML>";

$content .= "<customize
tag>".$abc."</cusomizetag>";
/Concating xml
related data and alll

write above content in fwrite($content) function see sytax
in manuall

I hope this will work for you.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Professional PHP Developers"
group.
To post to this group, send email to Professional-PHPgooglegroups.com
To unsubscribe from this group, send email to
Professional-PHP-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/Professional-PHP
-~----------~----~----~----~------~----~------~--~---

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )