Spam Blocker v1.5

Spam Blocker is a CakePHP Behavior that automatically runs after a comment is made. Each comment is tested upon a point system to determine if they shall be approved or pending (high points), or marked as spam / deleted (low points).

Numword officially released

Saturday, March 14th 2009, 2:44am
Topics: Scripts, PHP & MySQL
Tags: Numword, Script, Number, Word, Converter
Views: 833, Comments: 2

So I'm releasing this fun little script I built a few months ago, it's called Numword. This script will take a number and convert it into its word equivalent. For example, 12 will become twelve, and 7 will become seven. Now why did I create this? Well one day a friend asked me if there was a PHP function that would do this, but there wasn't, so I set out and a few hours later it was done! I thought it would be a good idea to release this to the public, for anyone who might need something like this, as rare as it would be. Enjoy!

Download Numword v1.2
View the complete change log

2 Comments

10 / 2 = ?
Allowed: [code] [b] [i] [u]
  • Bonji
    Apr 20th 2009, 13:53
    1 Hi. I know this is a bit of a backward step but can someone let me know how to achieve Numword in php 4. Would be much appreciated.
  • Kristoffer
    Aug 3rd 2009, 11:13
    2 Thanks for the script. Any chance you can modify it a little so that it'll insert an "and" before the last numbers? So "four-hundred fifty-nine" becomes "four-hundred and fifty-nine"?