Bug #13029: Crash when uploading file whose size is > 9 MB

From: Date: Wed, 29 Aug 2001 13:25:39 +0000
Subject: Bug #13029: Crash when uploading file whose size is > 9 MB
Groups: php.dev 
Request: Send a blank email to php-dev+get-64597@lists.php.net to get a copy of this message
From:             eugenio@pc.unicatt.it
Operating system: Windows 2000 professional
PHP version:      4.0.4pl1
PHP Bug Type:     Reproducible crash
Bug description:  Crash when uploading file whose size is > 9 MB

I don't manage to upload file whose size is greater than 9MB, I get a
connection aborted error.

I use PHP 4.0.4pl1, Win2000, IIS5 and IE 5.0 or NS 4.77 as browser.

In the php.ini I set memory_limit = 80M, upload_max_filesize= 80M

With small size file all works fine.

This is the script

Form:
<form method="post" action="software_add.php"
enctype="multipart/form-data">
	<INPUT TYPE="hidden" name="MAX_FILE_SIZE" value="80000000">
	<input type=file name="file_software">
  <input type="submit">
</form>

Software_add.php:
<?
copy($file_software, "$DOCUMENT_ROOT\\software\\$file_software_name");
?>
-- 
Edit bug report at: http://bugs.php.net/?id=13029&edit=1



Thread (12 messages)

« previous php.dev (#64597) next »