mirror of
https://github.com/php/pecl-php-uploadprogress.git
synced 2026-03-24 15:12:07 +01:00
50 lines
1.6 KiB
PHP
50 lines
1.6 KiB
PHP
<?php
|
|
|
|
/*
|
|
+----------------------------------------------------------------------+
|
|
| Uploadprogress extension |
|
|
+----------------------------------------------------------------------+
|
|
| Copyright (c) The PHP Group |
|
|
+----------------------------------------------------------------------+
|
|
| This source file is subject to version 3.01 of the PHP license, |
|
|
| that is bundled with this package in the file LICENSE, and is |
|
|
| available through the world-wide-web at the following url: |
|
|
| http://www.php.net/license/3_01.txt. |
|
|
| If you did not receive a copy of the PHP license and are unable to |
|
|
| obtain it through the world-wide-web, please send a note to |
|
|
| license@php.net so we can mail you a copy immediately. |
|
|
+----------------------------------------------------------------------+
|
|
| Author: Christian Stocker (chregu@php.net) |
|
|
+----------------------------------------------------------------------+
|
|
*/
|
|
?>
|
|
<!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>
|
|
<meta name="generator" content="HTML Tidy for Linux/x86 (vers 1 September 2005), see www.w3.org" />
|
|
<script type="text/javascript">
|
|
<?php
|
|
if (count($_FILES) > 0) {
|
|
echo "parent.UP.stop(true);";
|
|
} else {
|
|
echo "parent.UP.stop(false);";
|
|
}
|
|
?>
|
|
</script>
|
|
|
|
<title></title>
|
|
</head>
|
|
|
|
<body>
|
|
File uploaded:
|
|
<pre>
|
|
<?php
|
|
var_dump($_FILES);
|
|
?>
|
|
|
|
</pre>
|
|
</body>
|
|
</html>
|