Recibir una cadena de caracteres en un formulario convirtiendo toda la cadena a mayúsculas.
<?php $nombre = $_POST['nombre']; $apellido = $_POST['apellido']; echo strtoupper($nombre . " " . $apellido); ?> <!DOCTYPE html> <html> <head> <title>Introducción a PHP</title> </head> <body> <form action="index.php" method="post"> <input type="text" name="nombre"> <input type="text" name="apellido"> <input type="submit"> </form> </body> </html>