# Simple editor question

**URL:** <https://forum.kirupa.com/t/simple-editor-question/70738>\
**Category:** Uncategorized\
**Created:** [November 17, 2004, 1:27am UTC](https://forum.kirupa.com/t/simple-editor-question/70738 "2004-11-17T01:27:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![egoldy](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/egoldy/32/385_2.png) [@egoldy](https://forum.kirupa.com/u/egoldy)\
**Post date:** [November 17, 2004, 1:27am UTC](https://forum.kirupa.com/t/simple-editor-question/70738/1 "2004-11-17T01:27:04Z")

</div>

hi.everyone.

I have a question about kirupa xml tuts:  
[http://www.kirupa.com/web/xml/examples/simpleeditor.htm](http://www.kirupa.com/web/xml/examples/simpleeditor.htm)

The simpleeditor doesn’t work fine on my site.  
[http://webstudio.com.cn/seditor/simple\_editor.html](http://webstudio.com.cn/seditor/simple_editor.html)

I think the simple\_save.php is not work.

[http://webstudio.com.cn/seditor/simple\_save.php](http://webstudio.com.cn/seditor/simple_save.php)

```php
 <?php 
$filename = "simple_edit.xml"; 
$raw_xml = file_get_contents("php://input"); 
  
print $raw_xml; 
  
$fp = fopen($filename, "w"); 
fwrite($fp, $raw_xml); 
fclose($fp); 
?> 

```

my phpinfo:

[http://webstudio.com.cn/seditor/phpinfo.php](http://webstudio.com.cn/seditor/phpinfo.php)

If my php version is low. how can I rewrite simple\_save.php?

Please help me .I needed it.

Thanks a lot.
