$producto = ( unserialize(base64_decode($_POST['result'])); );
<input type="hidden" name="result" value="<?php echo base64_encode(serialize($data)); ?>">