The below can be used for encrypting something that needs to be decrypted again. It can be used for implementing a simple “remember login” also. The first parameter of mcrypt_encrypt or mcrypt_decrypt is “One of the MCRYPT_ciphername constants, or the name of the algorithm as string.” Details can be found here http://php.net/manual/en/mcrypt.ciphers.php Change it as per… Continue reading PHP Encrypt and Decrypt
Month: January 2015
Prestahop Installation error 500
Problem: Trying to install a new prestashop but getting error 500, the installation doesn’t even start Solution: Check file and folder permissions. Folder permission should be 755 and file should be 644. Commands for changing file / folder permissions in linux through (ssh) console: This is for changing folder permissions find /public_html/prestashop -type d… Continue reading Prestahop Installation error 500