Recent content by ZoomZaa

  1. Z

    XenForo Password Encryption

    Thanks again. Now I can access the page, but the problems are either: I got "Fatal error: Class 'XenForo_Application' not found in /home/myusername/domains/mydomain/public_html/forum/test.php on line 10" when the code was: require($filedir . 'library/XenForo/Autoloader.php')...
  2. Z

    XenForo Password Encryption

    Any assistance please? :(
  3. Z

    XenForo Password Encryption

    It doesn't work too. Got the same error. <?php $startTime = microtime(true); $fileDir = dirname(__FILE__); require($filedir . '/library/XenForo/Autoloader.php'); XenForo_Autoloader::getInstance()->setupAutoloader($fileDir . '/library'); XenForo_Application::initialize($fileDir ...
  4. Z

    XenForo Password Encryption

    <?php $startTime = microtime(true); $fileDir = dirname('../forum'); require($fileDir . '/library/XenForo/Autoloader.php'); XenForo_Autoloader::getInstance()->setupAutoloader($fileDir . '/library'); XenForo_Application::initialize($fileDir . '/library', $fileDir)...
  5. Z

    XenForo Password Encryption

    I got an error: HTTP500 Internal Error. :confused:
  6. Z

    XenForo Password Encryption

    Thank you very much. :) I'll try it now and will keep you posted.
  7. Z

    XenForo Password Encryption

    For Zend_Debug, you need Zend Framework to use this, right?
  8. Z

    XenForo Password Encryption

    Many Thanks! Does $auth stand for the result (true or false), right?
  9. Z

    XenForo Password Encryption

    Thanks for your support. Here is my script: <?php $username = $_POST['username']; $password = $_POST['password']; $password = sha1(sha1($password) . salt); $con = mysql_connect("localhost","*****","*****"); if (!$con) { die('Could not connect: ' . mysql_error()); }...
  10. Z

    XenForo Password Encryption

    Still doesn't work. :(
  11. Z

    XenForo Password Encryption

    I used: sha1(sha1($password) . salt) Was this correct? They're running on the same server. The error was an Internal error. Seemed like the server could not define SHA256. So, the stored passwords should be SHA1-encrypted, shouldn't they?
  12. Z

    XenForo Password Encryption

    No. They didn't work. When I used SHA1, the result was not the same as the one in the database. When I used SHA256, it resulted in error.
  13. Z

    XenForo Password Encryption

    I've tried both of them. However, thank you for your support. :)
  14. Z

    XenForo Password Encryption

    How does XenForo Password Encryption work? I'm trying to code a PHP script to check whether or not the input password matches with the password stored in the database. I've tried [' sha1(sha1($password) . salt) '] but didn't work. What exactly the formula is?
Top Bottom