Tizag.com Webmaster Tutorials - A collection of webmaster tutorials from HTML to PHP.

Saturday, May 29, 2010

How to change the salt value in cake php


/* A quick way of making a salt value for CakePHP */

$random_string = rand();

$xtra_salt = "ABDCDEFGHIKLMNOPQRSTUVWXYZ";

echo sha1($random_string.$xtra_salt);

?>

You have to run that script for getting the new salt value and paste it to
core.php and debugger.php