"PHP Text Statistics" Function Implementation Not Working

Discussion in 'PHP' started by Infranight, Nov 14, 2010.

  1. #1
    I'm trying to implement this:
    http://code.google.com/p/php-text-statistics/
    But it doesn't seem to be working, I did indeed download the file and upload it to my server as well.
    Right now I have this much:
    
    <?php	
    /* Yes, I did rename the file */
    require_once('inc/rlevel.class.php');
    
    $statistics = new TextStatistics;
    $text = 'The quick brown fox jumped over the lazy dog.';
    echo $statistics->flesch_kincaid_reading_ease($text);
    
    ?>
    
    Code (markup):
    Any mind taking a shot at it? Thanks.
     
    Infranight, Nov 14, 2010 IP
  2. Infranight

    Infranight Member

    Messages:
    319
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    28
    #2
    Unfortunately, that doesn't work either. Include doesn't make any difference either.
     
    Infranight, Nov 14, 2010 IP