SHARE
TWEET

Untitled

a guest Nov 12th, 2011 24 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. if ($_POST['post']) {
  4.     $elem = getElementByName('rss')
  5.     $xml = simplexml_load_file('feed.xml');
  6.     $xml->addChild('title', $_POST['post']);
  7.     $elem->appendChild(title)
  8.    
  9.     file_put_contents('feed.xml', $xml->asXML());
  10. }
  11. ?>
  12.  
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top