showLetterImage

Description

Shows a letter for the verification code.

Syntax

bool showLetterImage (string $letter)



Parameter $letter

Expected type: String
Description: An individual letter from the verification code



Return value

Expected type: Boolean
Description: Returns false if something goes wrong


Notes

  • Alternative function for showCodeImage() in case GD is missing.
  • Includes an image from a random sub directory of default_theme_dir/fonts.
Advertisement: