PHP Classes

Word to number converter: Encode words into numbers

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 232 This week: 1All time: 8,129 This week: 560Up
Version Licenses PHP version Categories
words-to-numbers 1.0.0GNU Free Document...5Text processing
Description 

Author

This class can encode words into numbers.

It can take a given string with words and clean it from special characters.

The class can convert the cleaned text to a number mapping the string letters.

Picture of Kind King
Name: Kind King <contact>
Classes: 1 package by
Country: Nigeria Nigeria
Age: 28
All time rank: 404635 in Nigeria Nigeria
Week rank: 416 Up8 in Nigeria Nigeria Up

Example

<?php
require_once("Word__.php");
    if(
$_REQUEST['word'] !=''){
       
$word = $_REQUEST['word'];
    }else{
       
$word = "EmmsDan";
    }
$Word__ = new Word__;

   
$Word__->_WordToNumber($word);
?>
<!DOCTYPE html>
<html lang= "en" >
<head>
<title> Word To Number version 1.0.0 Example </title>
<style>
    td{
    padding: 15px;
    color: #ff0;
    background: #0076cb;
    }
</style>
</head>

<body class="bg-primary">
<div class="page-header">
        <h1>
EmmsDan Projects.
        </h1>
<h4> WordToNumber Class Examples </h4>
</div>
    <table border="2" style="padding: 15px;background: #cee944;">
            <thead>
<th> Normal CodedString </th>
    <tr>
        <th>
            Word:
        </th>
        <th>
            Number:
        </th>
    </tr>
    </thead>
    <tbody>
       
    <tr class='success'>

        <td>
            <?php echo $Word__->String; ?>
</td>
        <td>
            <?php echo $Word__->CodedString; ?>
</td>
    </tr>
    </tbody>


<th> Hash with CodedString </th>
            <thead>
    <tr>
        <th>
            Word:
        </th>
        <th>
            Number:
        </th>
        <th>
            Hashed:
        </th>
    </tr>
    </thead>
    <tbody>
       
    <tr class='success'>

        <td>
            <?php echo $Word__->String; ?>
</td>
        <td>
            <?php echo $Word__->CodedString; ?>
</td>
        <td>
            <?php echo $Word__->CodedHash; ?>
</td>
    </tr>
    </tbody>

        </table>
   
<form method="post">
    <input name="word" value="<?php echo $word; ?>">
        <input type="submit">
</form>
        </div>
</body>
</html>


  Files folder image Files  
File Role Description
Accessible without login Plain text file example.html Example this is an example page. it shows an example of how to use the script
Plain text file Word__.php Class this is the main class for this package

 Version Control Unique User Downloads Download Rankings  
 0%
Total:232
This week:1
All time:8,129
This week:560Up