Advertisement
Guest User

fsb.php

a guest
Dec 17th, 2014
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.54 KB | None | 0 0
  1. <?php
  2. require './SiteEditor.php';
  3.  
  4. $USER_PASSWORD_HASH = '90866DEBD32998B8B45C98A51899772FBB0CF9AE6E1A04F8DA90907CCD3CCDB0A11322263347FEB63156D3E31B5733A705364046FDEA06631CD9D21141211732'; //hash of "{user}XX{password}" (without quotation) http://www.convertstring.com/Hash/SHA512
  5. $CONTENT_PATH = './content/'; //path to content directory (with ending slash)
  6.  
  7. $editor = new SiteEditor($USER_PASSWORD_HASH, $CONTENT_PATH);
  8. try {
  9.     $editor->handleRequest($_POST);
  10. } catch(Exception $e) {
  11.     echo 'Some error occurred: ' . $e->getMessage();
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement