Subject: | add these lines to avoid undefined... |
Summary: | Package rating comment |
Messages: | 1 |
Author: | falken knight |
Date: | 2013-07-16 11:35:35 |
|
|
|
falken knight rated this package as follows:
Utility: | Not sure |
Consistency: | Good |
Documentation: | Sufficient |
Examples: | Good |
|
falken knight - 2013-07-16 11:35:35
add these lines to avoid undefined index problem when packet is small the nfixed length in function encrypt before for loop with $j
$currentlength=strlen($packet);
if($currentlength<$s || $currentlength>$s){ //Check if the String is Exact Length to avoid undefined index error
$s=$currentlength; //if current packet length is small then
}
|