PHP Extension
PHP Extension
Example: Crypt2.CrcFile method
Demonstrates how to call the CrcFile method.Chilkat PHP Extension Downloads
<?php
include("chilkat.php");
$crypt = new CkCrypt2();
$filePath = 'c:/temp/someFile.dat';
$crc32 = $crypt->CrcFile('crc-32',$filePath);
print $crc32 . "\n";
$crc8 = $crypt->CrcFile('crc8',$filePath);
print $crc8 . "\n";
?>