char * htmlentities (const char *str)
Transforms HTML special chars.
char ** file (const char *filename, unsigned int *total)
Reads entire file into an array.
char * md5 (const char *str)
Converts a string to MD5 format.
Reads entire file into an array.Parameters:
Returns:
char **lines;
unsigned int total, i;
lines = file('filename.ext', &total);
printf('Total of lines: %u, total);
for (i = 0; i < total; i++)
printf('[%u] %s, i, lines[i]);
for (i = 0; i < total; i++) {
if (lines[i])
free(lines[i]);
}
Transforms HTML special chars.Transforms chars like '<', '>' and others in HTML form, like '<' and '>'
Parameters:
Returns:
Author:
Converts a string to MD5 format.Author:
Parameters:
Returns: