PHP Classes

File: html/processar.php

Recommend this page to a friend!
  Classes of António Lourenço   Lou Form Builder   html/processar.php   Download  
File: html/processar.php
Role: Example script
Content type: text/plain
Description: post result
Class: Lou Form Builder
Generate HTML for form inputs with class functions
Author: By
Last change:
Date: 22 days ago
Size: 475 bytes
 

Contents

Class file image Download
<?php
   
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
       
// Verifica se o formulário foi enviado
       
$nome = $_POST['nome'] ?? '';
       
$email = $_POST['email'] ?? '';
       
$senha = $_POST['senha'] ?? '';
       
$senhaConfirmacao = $_POST['senha_confirmacao'] ?? '';
       
$telefone = $_POST['telefone'] ?? '';
       
$comentario = $_POST['mensagem'] ?? '';

       
print_r($_POST); // Exibe os dados do formulário para depuração
   
}
?>