Load the module require SF_form_secure; ------------------------------------------------------------------------------- Set page up for self encoding if encoding is missing 3 - is the action type $key - Must Provide a secret key. 'op=testForm;module=Flex_Form' - to work, must provide a matching self link '' - not used for this action '' - Minutes code will expire in 1 to 99, blank is off.. 'ip' - use Remote IP in encoding, blank is off. my $sec_self = SF_form_secure::x_secure('3', $key, 'op=testForm;module=Flex_Forma', '', '', 'ip');