
Simple way to encrypt and decrypt files in php <?php /* Online PHP Examples with Source Code website: http://4evertutorials.blogspot.in/ */ function CryptFile($InFileName,$OutFileName,$password){ //check the file if exists if (file_exists($InFileName)){ //get file content as string $InFile = file_get_contents($InFileName); // get string length $StrLen = strlen($InFile); // get string char by...