PHP Classes

File: mptest.php3

Recommend this page to a friend!
  Classes of Steve Woodbridge  >  DoubleMetaPhone  >  mptest.php3  >  Download  
File: mptest.php3
Role: Example script
Content type: text/plain
Description: Simple Web interface to DoubleMetaPhone
Class: DoubleMetaPhone
An improved "sounds like" algorithm.
Author: By
Last change:
Date: 21 years ago
Size: 457 bytes


Class file image Download
<title>DoubleMetaphone Test</title>
<h1>DoubleMetaphone Test</h1>


if (isset($in) && $in != "") {

$mp = new DoubleMetaPhone($in);
<h2><? print $in; ?> yields '<? print $mp->primary; ?>' and '<? print $mp->secondary; ?>'</h2>

<form action="<? print $PHP_SELF; ?>" method=get>
<input type=text name=in>
<input type=submit>

For more information send a message to info at phpclasses dot org.