Miscellaneous

  Home arrow Miscellaneous arrow Page 9 - Form and Spelling Validation
MISCELLANEOUS

Form and Spelling Validation
By: Matt Wade
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 7
    2003-07-20

    Table of Contents:
  • Form and Spelling Validation
  • Common Form Validations
  • Spell Checking
  • Summary

  •  
     

    SEARCH CODEWALKERS

    TOOLS YOU CAN USE

    advertisement

    Form and Spelling Validation - Spell Checking


    (Page 9 of 14 )

    Our email clients and word processors have spell checking, so why don't our web applications? The reason is not that it is difficult to do. It is because most people don't take the time to build it into the application. Adding spell check capabilities to our web applications is an easy and effective way to take them to the next level of professionalism. In this section, we will build a simple spell checker that you can use and expand upon for your own applications.

    Requirements

    Unfortunately, the spell checking functions in PHP cannot be used in a Windows environment.

    On all other systems, you must have the proper libraries installed and compile PHP with the --with-pspell option. The libraries for aspell can be found at http://aspell.net/.

    One mildly confusing element about this extension is the naming conventions. The extension is named pspell, but we use the aspell libraries along with it. The reason for this discrepancy is that the aspell library includes all of pspell. There are aspell functions within PHP, but don't let those confuse you. The aspell functions are deprecated and should be avoided. The bottom line is that you should use the pspell functions along with the aspell library.

    More Miscellaneous Articles
    More By Matt Wade

    blog comments powered by Disqus

    MISCELLANEOUS ARTICLES

    - Attention: Forum and Site Maintenance
    - Oracle Database XE: Indexes and Sequences
    - Modifying Tables in Oracle Database XE
    - Oracle Database XE: Tables and Constraints
    - More on Oracle Databases and Datatypes
    - Oracle Database XE Datatypes: Datetime and L...
    - Oracle Database XE Datatypes: Character and ...
    - From Databases to Datatypes
    - Firefox 3.6.6 Released with Improved Plug-in...
    - Attention Bloggers: WordPress 3.0 Now Releas...
    - Reflection in PHP 5
    - Inheritance and Other Advanced OOP Features
    - Advanced OOP Features
    - Linux from Scratch V.6.6 Review
    - Linux Gaining in Strength

    Developer Shed Affiliates

     



    © 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap