Commit bf7e6202 authored by Lucas Saliés Brum's avatar Lucas Saliés Brum 🖐🏻

Autocommit por GitLab.sh: alterações: add 'index.php' add 'senha.php'

parent 838739f8
......@@ -73,7 +73,7 @@ if (isset($_SERVER['HTTP_USER_AGENT']) && preg_match('/^(curl|wget)/i', $_SERVER
<article class="tile is-child">
<p class="title">Gerador de Senhas</p>
<p class="subtitle">Crie uma senha segura</p>
<form id="formulario" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<form id="formulario" method="post" action="index.php">
<div class="field">
<div class="control">
<label class="label">Caracteres</label>
......
<?php
$tamanho = ( isset($_POST['tamanho']) ) ? (int)$_POST['tamanho'] : 10;
$maiusculas = ( isset($_POST['maiusculas']) ) ? $_POST['maiusculas'] : false;
$minusculas = ( isset($_POST['minusculas']) ) ? $_POST['minusculas'] : false;
$minusculas = ( isset($_POST['minusculas']) ) ? $_POST['minusculas'] : true;
$numeros = ( isset($_POST['numeros']) ) ? $_POST['numeros'] : false;
$simbolos = ( isset($_POST['simbolos']) ) ? $_POST['simbolos'] : false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment