Is there a way to get a random word from an online dictionary like dictionary.com, into a string for use in PHP. API's etc...
Impossible or not?
Is there a way to get a random word from an online dictionary like dictionary.com, into a string for use in PHP. API's etc...
Impossible or not?
Check this thing out http://www.ypass.net/misc/dictionary/random-word-widget.html. The source code it avaiable as well.
You are better of getting list of words from ASPELL or http://sourceforge.net/projects/wordlist/, importing them into a db table and randomly selecting one every time page loads. Will be faster than an API call, for sure.