TimeTrex Community Edition v16.2.0
This commit is contained in:
14
vendor/phpunit/phpunit-selenium/selenium-1-tests/php/file_upload.php
vendored
Normal file
14
vendor/phpunit/phpunit-selenium/selenium-1-tests/php/file_upload.php
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
if ($_FILES) {
|
||||
$file = $_FILES['upload_here'];
|
||||
echo "<div id=\"uploaded\">
|
||||
The file name is <span id=\"name\">{$file['name']}</span>
|
||||
and its size is <span id=\"size\">{$file['size']}</span>
|
||||
</div>
|
||||
";
|
||||
}
|
||||
?>
|
||||
<form action="" method="post" enctype="multipart/form-data">
|
||||
<input type="file" name="upload_here" id="upload_here" />
|
||||
<input type="submit" id="submit" value="Upload" />
|
||||
</form>
|
Reference in New Issue
Block a user