Menu

[r491]: / swfupload / trunk / demos / applicationdemo / test.php  Maximize  Restore  History

Download this file

30 lines (25 with data), 965 Bytes

 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
<?php
session_start();
?>
<!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 Revision 6 Demo</title>
<link href="../css/default.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="title">SWFUpload (Revision 6) Demos</div>
<form action="upload.php" method="post" enctype="multipart/form-data">
<input type="hidden" id="PHPSESSID" value="<?php echo session_id(); ?>" />
<input type="hidden" id="file_id" value="SWFUpload_0_0" />
<input type="file" id="Filedata" name="Filedata" /><br />
<input type="submit" value="Submit" />
</form>
<?php echo session_id();
if (isset($_SESSION["file_info"])) {
foreach ($_SESSION["file_info"] as $image_id => $value) {
echo '<img src="thumbnail.php?id='.$image_id.'" style="margin: 4px;" />';
}
} ?>
</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.