calculates the CRC32 value of a given file
numero = 253CRC32 is a 32-bit Cyclic Redundancy Check code, used mainly as an error detection method during data transmission. If the computed CRC bits are different from the original (transmitted) CRC bits, then there has been an error in the transmission. If they are identical, we can assume that no error occured (there is one chance in 4 billion that two different bit streams have the same CRC32). The idea is that the data bits are treated as a data polynomial and the CRC bits represent the remainder of the division of the data polynomial by a fixed, known polynomial (called the CRC polynomial).
Example:[CalcFileCRC32 file=../header.inc]Results:4016676240l
From version 8.1, if you want to calculate the CRC32 of a string, you can use[CalcCRC32][string][/CalcCRC32]
Example:[text]stringX=balh blah blah blah[/text][CalcCRC32][stringX][/CalcCRC32]This returns 345965317 [CalcFileCRC32 file=...]
CRC32 is a 32-bit Cyclic Redundancy Check code, used mainly as an error detection method during data transmission. If the computed CRC bits are different from the original (transmitted) CRC bits, then there has been an error in the transmission. If they are identical, we can assume that no error occured (there is one chance in 4 billion that two different bit streams have the same CRC32). The idea is that the data bits are treated as a data polynomial and the CRC bits represent the remainder of the division of the data polynomial by a fixed, known polynomial (called the CRC polynomial).
[CalcFileCRC32 file=../header.inc]
From version 8.1, if you want to calculate the CRC32 of a string, you can use
[CalcCRC32][string][/CalcCRC32]
[text]stringX=balh blah blah blah[/text]
[CalcCRC32][stringX][/CalcCRC32]
DOWNLOAD WEBDNA NOW!
A list of the currently available modules...
F.A.QA compilation of some user's questions...
Tips and TricksA list of user-submitted tips ...
Download WebDNA ApplicationsWebDNA applications...
Technical Change HistoryThis Technical Change History provides a reverse chronological list of WebDNA changes...
WebDNA LibrariesA list of available libraries for WebDNA...
[table] allows you to quickly create a temporary 'in line' database that is local to the template and not part of the global database cache...
[getchars]Extracts a portion of the text (also known as substring or Mid$)...
[uppercase]Changes all lower case letters to upper case...
[createfolder]Create an empty folder on your webspace...
[grep]Replaces text based on a regular expression...
[listfiles]When listing files...