PHP Classes

incorrect statement in class

Recommend this page to a friend!

      Simple Steganography  >  All threads  >  incorrect statement in class  >  (Un) Subscribe thread alerts  
Subject:incorrect statement in class
Summary:test should be greater or equal
Messages:1
Author:Ronald Verdonk
Date:2013-11-26 10:49:07
 

  1. incorrect statement in class   Reply   Report abuse  
Picture of Ronald Verdonk Ronald Verdonk - 2013-11-26 10:49:07
Approx. line 115 statement reads:
if($textCounter > strlen ('5TEG0'.$text.'5TEG0'))return $im;

should be:
if($textCounter >= strlen ('5TEG0'.$text.'5TEG0'))return $im;

because length is always 1 higher than the index.

Ronald