From a2bcccfc0035cf2b46961674a4ff01107d89738a Mon Sep 17 00:00:00 2001 From: Martina Maggio <maggio.martina@gmail.com> Date: Fri, 10 Apr 2015 11:14:08 +0200 Subject: [PATCH] Process data --- processdata.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/processdata.php b/processdata.php index 9c57165..9f47538 100644 --- a/processdata.php +++ b/processdata.php @@ -10,19 +10,19 @@ $not_processable = (empty($name) || empty($surname) || empty ($email)); if ($not_processable) { - die('Name, Surname and E-mail are required, please + die('First Name, Last Name and E-mail are required, please <a href="http://control.lth.se/ecrts2015/registration.html">try again</a>.'); } else { $filename = '/home/WWW/public/ECRTS2015/data/' . $surname . '-' . $name . '.txt'; $data = '--------------------------------------------------------------------------------' . "\n" . - 'Name: ' . $name . "\n" . - 'Surname: ' . $surname . "\n" . + 'First Name: ' . $name . "\n" . + 'Last Name: ' . $surname . "\n" . 'E-mail: ' . $email . "\n" . 'IP: ' . $_SERVER[REMOTE_ADDR] . "\n" . 'Date: ' . date('Y-m-d H:i:s') . "\n" . 'Dietary: ' . $dietary . "\n" . - 'Newcomer: ' . $newcomer . "\n" . + 'First ECRTS: ' . $newcomer . "\n" . '--------------------------------------------------------------------------------' . "\n"; $ret = file_put_contents($filename, $data, FILE_APPEND | LOCK_EX); if ($ret === false) { @@ -30,7 +30,7 @@ <a href="http://control.lth.se/ecrts2015/registration.html">try again later</a>.'); } else { - header("Location: http://www.euromicro.org/registration/register.php?event=ECRTS015"); + header("Location: http://www.euromicro.org/registration/registration.php?event=RTS2015"); exit; } } -- GitLab