Re: Mac IE 5.0 upload problem

From: Date: Sat, 19 May 2001 03:27:49 +0000
Subject: Re: Mac IE 5.0 upload problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-53504@lists.php.net to get a copy of this message
I don't know what your problem might be, but there is nothing wrong with the file upload on Mac IE5. We use it all the time, in connection with both perl and php server-side and there is no problem. You do have to make sure the file you upload is essentially flat (ie no resource fork, since that will be stripped) but most file formats are flat these days anyway. I'm not sure about Quark. IE 4.5 should *not* be uploading in MacBinary, so I guess that's a bug they fixed for 5.0. See if you can upload a gif or a jpeg file and retrieve it properly. There shouldn't be a problem. Julian on 5/18/01 6:57 PM, Jason Lam at lamj-list2@cmgraphics.net wrote: > > Would any Mac expert help me out with this one. > > I have created an upload script with works fine for PC file and Mac files > with IE 4.5, but it just would not work with IE5.0 > > Whenever I upload file with IE 5.0, after it gets to the server, the size > becomes smaller by few hundred bytes, this ruin the file. If I download the > file to a mac again, it becomes a white icon and cannot be opened. The > $file_type tells me that it is "application/octet-stream". But on the other > hand, doing the same thing on IE 4.5 will make the filesize larger by a few > hundred bytes when it arrive at the server (I think the resource fork is > included) and the upload file type is "application/x-macbinary". Anyone know > how come IE5.0 seems to lost those bytes? Is it losing the resource fork? Do > I have any control over what the browser will upload? BTW, I was testing > with some Quark Express file. > > Any help is appreciated. > > Jason Lam > > > -- Julian Wood Learning Technologies and Digital Media University of Calgary

« previous php.general (#53504) next »