HIX - Proyecto Ticket (I)
Proyecto Ticket Vamos a crear una pequeña aplicación para los muchachos del pueblo. Solo tendrán de poner su nombre y el sistema lo registrará y les dará una clave para acceder a ver la película, fácil. Crearemos un fichero llamado ticket.html <!DOCTYPE html> <html> <body> <h2>Movie Ticket</h2> <form action=" proc_ticket.prg " method=' post ' > <label for="fname">Name:</label><br> <input type="text" name="user_name" value="John"><br><br> <input type="submit" value="Give me a ticket"> </form> <p>If you click the "Submit" button, the form-data will be sent to a page called "proc_ticket.prg".</p> </body> </html> Crearemos el proceso de petición de tickets que llamaremos proc_ticket.prg #define FILE_TICKET hb_dirbase() + ...