PHP StringSpeller class
If you want to spell for example a password, you can do this with this class.
It can spell in multiple languages: NATO, Dutch, Belgium, German, English, French, Spanish and Italian.
Example:
<html> <body> <?php include('stringspeller.class.php'); $sObj = new stringSpeller; echo " <h1>US style</h1> "; $sObj->setLanguage("US"); $sObj->setSeperator("<br>"); $sObj->setDisplayFull(true); echo $sObj->spell("Spelled4U"); echo " <h1>NATO style</h1> "; $sObj->setLanguage("NATO"); $sObj->setSeperator(" "); $sObj->setDisplayFull(false); echo $sObj->spell("Spelled4U"); echo " <h1>Dutch style</h1> "; $sObj->setLanguage("NL"); $sObj->setSeperator("<br>"); $sObj->setDisplayFull(true); echo $sObj->spell("Spelled4U"); ?> </body> </html>
Output:
US style
capital S from Samuel
lowercase p from Peter
lowercase e from Edward
lowercase l from London
lowercase l from London
lowercase e from Edward
lowercase d from David
Four
capital U from Uncle
NATO style
Sierra Papa Echo Lima Lima Echo Delta Four Uniform
Dutch style
hoofdletter S van Simon
kleine letter p van Pieter
kleine letter e van Eduard
kleine letter l van Lodewijk
kleine letter l van Lodewijk
kleine letter e van Eduard
kleine letter d van Dirk
Vier
hoofdletter U van Utrecht
Download it: stringspeller.class.php