3v4l.org

run code in 300+ PHP versions simultaneously
<?php $curso=$_post['lista']; $nome=$_post['nome']; $morada=$_post['morada']; $contacto=$_post['contacto']; $email=$_post['email']; $profissional=$_post['spryradio1']; $email_from = 'geral@cooperativa-agricola.pt'; $email_subject = "Coonfagri-Novo Candidato"; $email_body ="Candidato ao Curso de $curso.\Nome : $nome\n Morada : $morada\n Contacto : $contacto\n Email : $email\n Regime : $profissional "; $to = "oskr.g6@gmail.com"; $headers = "From: $email_from \r\n"; $headers .= "Reply-To: $email \r\n"; mail($to,$email_subject,$email_body,$headers); header('Location: www.cooperativa-agricola.pt');

preferences:
46.18 ms | 402 KiB | 5 Q