/** * @return put return description here.. * @param param : parameter passed to function * @desc decode : put function description here ... */ function decode($string) { // Write Function Code Here $string = base64_decode($string); $tokens = explode($this->getSeparator(), $string); if ($tokens[1] != $this->getSalt()) { $thisError = new errorHandler(); $thisError->setUserErrorMessage("Data Tampering Detected !! Administrator has been notified ! "); $thisError->setProgramErrorMessage("POST DATA TAMPERING -->" . $string); $thisError->setErrorPage($_SERVER['PHP_SELF']); $thisError->setEmailAdmin(false); $thisError->setQuitProgram(true); $thisError->handleError(); } return $tokens[0]; }