Upload part of a file
Posted: Tue Aug 16, 2011 5:25 pm
Hello All,
How does one upload part of a file? I have a very large data set and I would like to upload say the first 100 MB of the file, for example?
Thanks
KP
How does one upload part of a file? I have a very large data set and I would like to upload say the first 100 MB of the file, for example?
Thanks
KP
Code: Select all
<html>
<body>
<form action="upload_file.php" method="post"
enctype="multipart/form-data">
<label for="file">Filename:</label>
<input type="file" name="file" id="file" />
<br />
<input type="submit" name="submit" value="Submit" />
</form>
</body>
</html>Code: Select all
<?php
include('AnalyseListMode.html');
$allowedExtensions = array("lst","png");
$target = "upload/";
echo $_FILES['file'];
print "<pre>";
print_r($_FILES);
print "</pre>";
?>