/** * AJAX code to set the resample rate * * @author Ben Dodson * @version 2/16/06 * @since 2/16/06 * * Note that $v is jz_encoded. **/ function setResample($v) { $v = jz_decode($v); $_SESSION['jz_resample_rate'] = $v; if ($_SESSION['jz_resample_rate'] == "") { unset($_SESSION['jz_resample_rate']); } }
/** * Unscrambles a stringf or the cookie * * @author Ben Dodson * @version 1/16/05 * @since 11/23/04 */ function jz_cookie_decode($string) { return jz_decode($string, "this is a secret key that will be moved and improved."); }