function mimetype($ext) { if($ext == 'jpg' || $ext == 'jpeg' || $ext == 'jpe') return 'image/jpeg'; elseif($ext == 'png') return 'image/png'; elseif($ext == 'gif') return 'image/gif'; elseif($ext == 'csv') return 'text/csv'; return 'application/octet-stream'; } function floatval2($val) { return floatval(str_replace(',', '.', str_replace('.', '', $val))); } function generaclave($long=6) { $chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_'; srand((double)microtime()*1000000); $i = 0; $pass = ''; while($i < $long) { $num = rand() % 64; $tmp = substr($chars, $num, 1); $pass = $pass . $tmp; $i++; } return $pass; } function encriptar($pass) { return md5($pass); } function moneda($valor, $sim = '$') { $str = ''; if($sim) $str .= $sim.' '; $str .= number_format($valor, 2, ',', '.'); return $str; } ?>
Bienvenido a la sección de pagos de
Por favor seleccione el tipo de Curso o Evento y proceda a completar el formulario, para poder completar el pago online correspondiente.
Please select the type of Curse or Event and proceed to complete the form, in order to complete the corresponding online payment.
El registro al curso debe realizarse con los datos y correo electrónico de la persona interesada.
Registration for the course must be done with the data and e-mail of the person interested.