Bug #18445 Updated: when file upload, the size is duplicated
| From: | youngga at hotmail dot com | Date: | Sun, 21 Jul 2002 05:31:05 +0000 |
| Subject: | Bug #18445 Updated: when file upload, the size is duplicated | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-14719@lists.php.net to get a copy of this message | ||
ID: 18445
Updated by: youngga@hotmail.com
Reported By: youngga@hotmail.com
Status: Bogus
Bug Type: Filesystem function related
Operating System: linux
PHP Version: 4.2.1
New Comment:
When I upload file to server, stored file size in server is
duplicated.
My test page is www.ftpmail.com/test/a_file.php.
And you can see my php information at www.ftpmail.com/test.php .
The full source is following.
-----------------------------------------------------------
<html>
<head>
<title>test_array</title>
</head>
<body>
<table align="center" border="0">
<tr>
<td>
<p>Array file upload test page.
<p>Select file then click submit.</p>
<form name="files_up" action="<? echo $PHP_SELF; ?>"
method="post"
enctype='multipart/form-data'>
<input class="input" type="file" name="upfile"
size="25"><br>
<input type="submit" name="sub1" value="submit">
</form>
<?php
if(!empty($upfile))
{
echo "<br>file name = ".$upfile_name;
echo "<br>file size = ".$upfile_size."<br>";
}
?>
<p> </p>
<p><a href="menu.htm">go to menu</a></p>
</td>
</tr></table>
</body>
</html>
-----------------------------------------------------------
please answer the solutions.
Previous Comments:
------------------------------------------------------------------------
[2002-07-20 04:19:59] derick@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2002-07-19 23:30:34] youngga@hotmail.com
When I file upload with http form, the uploaded file size is
duplicated.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18445&edit=1