close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

XML and PHP

Thread began 10/29/2009 2:16 pm by muddysmurf | Last modified 10/29/2009 5:24 pm by Justin Nemeth | 1307 views | 2 replies |

muddysmurf

XML and PHP

I have my site using a php database, and I have a flash movie that is importing an XML file for the data.

I was wondering if there is a way for my clients to update the XML file? Kinda like a CMS for a website.

Sign in to reply to this post

tom92909Beta Tester

Yes. I have done that very thing on two different sites.

I have a PHP, MySQL / DataAssist created Admin page that I created to perform the management function. Add, Edit, Update that kind of thing.

I have a Button that physically WRITES (fwrite) the XML file output that I hand coded to meet the XML requirements.

All in all it works very well. Once the new file is written the Flash file will instantly recognize the changes the next time that page is opened.

Sign in to reply to this post

Justin Nemeth

PHP has a pretty cool library called SimpleXML that can also be used to read/write XML files pretty easily. Check it out at simplexml.

For your purposes, it might be easier to just write the XML file yourself similar to what Tom is doing.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...