Bug #16353 Updated: can upload other files but not zip or visio files

From: Date: Tue, 18 Jun 2002 16:32:27 +0000
Subject: Bug #16353 Updated: can upload other files but not zip or visio files
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-11156@lists.php.net to get a copy of this message
ID: 16353 Updated by: sander@php.net Reported By: cindy_walker@dot.ca.gov -Status: Open +Status: Feedback Bug Type: HTTP related Operating System: Irix 6.5 PHP Version: 4.0.6 New Comment: I really think this is a browser issue. What happens if you rename a viso file to .jpg or .gif, or any other extension that does work? If you can upload that file, then it's a browser problem. Previous Comments: ------------------------------------------------------------------------ [2002-06-18 12:10:32] cindy_walker@dot.ca.gov Finally we have PHP 4.20 installed. It does solve the problem for uploading zip files with Netscape 4.7. It still doesn't allow the successful upload of visio files. It puts the file on the server with the correct name, but its a zero KB file. These PHP commands: echo "HTTP_POST_FILES tmpname: ".$HTTP_POST_FILES['attachment'] ['tmp_name']."<br>\n"; echo "attachment_name: ".$attachment_name."<br>\n"; echo "attachment: ".$attachment."<br>\n"; echo "attachment_size: ".$attachment_size."<br>\n"; echo "attachment_type: ".$attachment_type."<br>\n"; result in this output: HTTP_POST_FILES tmpname: attachment_name: test.vsd attachment: attachment_size: 0 attachment_type: PHP 4.2 can get the name but little else from a visio file. I'll see if I can get one of the server admins to look at the http traffic that happens during the upload of visio files. ------------------------------------------------------------------------ [2002-06-18 04:19:55] hholzgra@php.net any news here? ------------------------------------------------------------------------ [2002-04-13 19:14:39] shiflett@php.net If this problem persists, it would be very helpful if you could capture (or have someone else capture) the underlying HTTP traffic this transaction produces. Feel free to email me personally if you would like help in this regard. ------------------------------------------------------------------------ [2002-04-04 16:01:43] cindy_walker@dot.ca.gov You're right about it being browser related. Uploading zip and visio files works with IE 6, but not with Netscape 6.2 or 4.7x and not with IE 5.0. I haven't tested IE 5.5. Our admin will compile and install the latest RC in the next few days. I'll report back on how that affected uploads of our problem files. ------------------------------------------------------------------------ [2002-04-02 13:40:39] sander@php.net I think it's a problem with your browser, not with PHP. Anyway, can you try the latest RC from www.php.net/~derick ? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/16353 -- Edit this bug report at http://bugs.php.net/?id=16353&edit=1

« previous php.bugs (#11156) next »