| 1 |
lars |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
/*
|
|
|
4 |
+----------------------------------------------------------------------+
|
|
|
5 |
| Uploadprogress extension |
|
|
|
6 |
+----------------------------------------------------------------------+
|
|
|
7 |
| Copyright (c) 2006-2008 The PHP Group |
|
|
|
8 |
+----------------------------------------------------------------------+
|
|
|
9 |
| This source file is subject to version 3.01 of the PHP license, |
|
|
|
10 |
| that is bundled with this package in the file LICENSE, and is |
|
|
|
11 |
| available through the world-wide-web at the following url: |
|
|
|
12 |
| http://www.php.net/license/3_01.txt. |
|
|
|
13 |
| If you did not receive a copy of the PHP license and are unable to |
|
|
|
14 |
| obtain it through the world-wide-web, please send a note to |
|
|
|
15 |
| license@php.net so we can mail you a copy immediately. |
|
|
|
16 |
+----------------------------------------------------------------------+
|
|
|
17 |
| Author: Christian Stocker (chregu@php.net) |
|
|
|
18 |
+----------------------------------------------------------------------+
|
|
|
19 |
*/
|
|
|
20 |
?>
|
|
|
21 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
|
22 |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
23 |
|
|
|
24 |
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
25 |
<head>
|
|
|
26 |
<meta name="generator" content="HTML Tidy for Linux/x86 (vers 1 September 2005), see www.w3.org" />
|
|
|
27 |
<script type="text/javascript">
|
|
|
28 |
<?php
|
|
|
29 |
if (count($_FILES) > 0) {
|
|
|
30 |
echo "parent.UP.stop(true);";
|
|
|
31 |
} else {
|
|
|
32 |
echo "parent.UP.stop(false);";
|
|
|
33 |
}
|
|
|
34 |
?>
|
|
|
35 |
</script>
|
|
|
36 |
|
|
|
37 |
<title></title>
|
|
|
38 |
</head>
|
|
|
39 |
|
|
|
40 |
<body>
|
|
|
41 |
File uploaded:
|
|
|
42 |
<pre>
|
|
|
43 |
<?php
|
|
|
44 |
var_dump($_FILES);
|
|
|
45 |
?>
|
|
|
46 |
|
|
|
47 |
</pre>
|
|
|
48 |
</body>
|
|
|
49 |
</html>
|