Menu

[r747]: / swfupload / trunk / demos / formsdemo / thanks.php  Maximize  Restore  History

Download this file

70 lines (62 with data), 2.1 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?php
// Check for a degraded file upload, this means SWFUpload did not load and the user used the standard HTML upload
$used_degraded = false;
$resume_id = "";
if (isset($_FILES["resume_degraded"]) && is_uploaded_file($_FILES["resume_degraded"]["tmp_name"]) && $_FILES["resume_degraded"]["error"] == 0) {
$resume_id = $_FILES["resume_degraded"]["name"];
$used_degraded = true;
}
// Check for the file id we should have gotten from SWFUpload
if (isset($_POST["hidFileID"]) && $_POST["hidFileID"] != "" ) {
$resume_id = $_POST["hidFileID"];
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>SWFUpload Demos - Classic Form Demo</title>
<link href="../css/default.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="header">
<h1 id="logo"><a href="../">SWFUpload</a></h1>
<div id="version">v2.1.0 Beta</div>
</div>
<div id="content">
<h2>Classic Form Demo</h2>
<?php if ($resume_id == "") { ?>
<p>Your resume was not received.</p>
<?php } else { ?>
<table>
<tr>
<td>Last Name: </td>
<td><?php echo htmlspecialchars($_POST["lastname"]); ?> </td>
</tr>
<tr>
<td>First Name: </td>
<td><?php echo htmlspecialchars($_POST["firstname"]); ?> </td>
</tr>
<tr>
<td>Education Name: </td>
<td><?php echo htmlspecialchars($_POST["education"]); ?> </td>
</tr>
<tr>
<td>Resume ID: </td>
<td><?php echo htmlspecialchars($resume_id); ?> </td>
</tr>
<tr>
<td>References: </td>
<td><?php echo htmlspecialchars($_POST["references"]); ?> </td>
</tr>
</table>
<?php if ($used_degraded) { ?>
<p>You used the standard HTML form.</p>
<?php } ?>
<hr width="90%" />
<p> Thank you for your submission. </p>
<?php } ?>
<p><a href="index.php">Submit another Application</a></p>
<p> Thanks for trying this demo. Your files are discarded for the purposes of this demo. </p>
</div>
</body>
</html>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.