ID:               3053
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Won't fix
 Bug Type:         Misbehaving function
 Operating System: Linux 2.2.12-20 Redhat 6.1
 PHP Version:      3.0.12
 New Comment:

We are sorry, but can not support PHP 3 related problems anymore. 
Momentum is
gathering for PHP 5, and we think supporting PHP 3 will lead to a waste
of
resources which we want to put into getting PHP 5 ready. Ofcourse PHP 4
will
will continue to be supported for the forseeable future.

file upload has been completely rewritten for php 4.2


Previous Comments:
------------------------------------------------------------------------

[1999-12-27 16:38:39] [EMAIL PROTECTED]

The _type variable for File upload is not set.
I use Netscape Communicator 4.61.

The php-file:
<html><head></head>
<body>
<form method="POST" enctype="multipart/form-data">
<input type="hidden" name="MAX_FILE_SIZE" value="100000">
<input type="file" name="single">
<?
  phpinfo();
?>
<input type="submit">
</form>
</body>
</html>



I have verified that the 'Content-Type: '-header is provided by
netscape, using action="printenv":

Output from printenv:

SERVER_SOFTWARE=Apache/1.3.9 (Unix) (Red Hat/Linux) PHP/3.0.12
GATEWAY_INTERFACE=CGI/1.1
DOCUMENT_ROOT=/home/httpd/html
REMOTE_ADDR=127.0.0.1
SERVER_PROTOCOL=HTTP/1.0
REQUEST_METHOD=POST
QUERY_STRING=
HTTP_USER_AGENT=Mozilla/4.61 [en] (X11; I; Linux 2.2.12-20 i686)
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
HTTP_CONNECTION=Keep-Alive
REMOTE_PORT=1279
SERVER_ADDR=127.0.0.1
CONTENT_TYPE=multipart/form-data;
boundary=---------------------------125557601387872961105811452
CONTENT_LENGTH=401
SERVER_ADMIN=root@localhost

POSTDATA:

-----------------------------125557601387872961105811452
Content-Disposition: form-data; name="MAX_FILE_SIZE"

100000
-----------------------------125557601387872961105811452
Content-Disposition: form-data; name="single"; filename="test.html"
Content-Type: text/html

Test

-----------------------------125557601387872961105811452--

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=3053&edit=1

Reply via email to