Jump to content

Editing xml File in Wysiwig


allex01

Recommended Posts

I want to give my customer a CMS capability where he can edit the content of the file via the browser. The content would should up in an editor where costumer can make simple changes and hit the save button. I need some guidance on how to do this.

Link to comment
Share on other sites

Wouldn't it be better to give the user a form to submit new values then you handle the xml writing in your scripts.

 

Then you can clean their input etc.

 

Letting a user directly edit the xml is a bad idea. They'll put characters in that will break it etc.

 

If you're using php 5 then look at simplexml: http://uk2.php.net/simplexml

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.